From 7864ae27310b48d36ac780707868d2b5fc353a8e Mon Sep 17 00:00:00 2001 From: George Adams Date: Thu, 12 Jan 2023 22:45:08 +0000 Subject: [PATCH] Update mdxComponents.tsx --- src/util/mdxComponents.tsx | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/src/util/mdxComponents.tsx b/src/util/mdxComponents.tsx index ee4aa0fd64..18edb529cb 100644 --- a/src/util/mdxComponents.tsx +++ b/src/util/mdxComponents.tsx @@ -13,8 +13,11 @@ const formatDiv = props => { } const Small = props => <>
; + const Tick = () => ; const Cross = () => ; + +// Wrapper to create a collapsible element using native markdown const Collapsible = props => { return ( // if props.title is defined add summary @@ -22,34 +25,13 @@ const Collapsible = props => {
) } + +// Wrapper to add a class name around an element const Class = props => { return (
) } -const SupportedPlatformsTable = props => { - return ( - - - - - - - - - - - - - - - - - {/* Strip out heading and only return tr children */} - -

Operating System

Eclipse Temurin Version

  8

11

17

19

Windows (x64/x86)

- ) -} export const mdxComponents = { Small, @@ -57,11 +39,10 @@ export const mdxComponents = { Cross, Collapsible, Class, - SupportedPlatformsTable, GuestPost, blockquote: props =>
, table: props => , thead: props => , li: props =>
  • , div: formatDiv -}; \ No newline at end of file +};