import * as Chakra from '@chakra-ui/react' import { ColorPalette, ColorPalettes, ColorWrapper, } from 'components/color-palette' import { JoinCommunityCards } from 'components/community-card' import { FeaturesOverview } from 'components/features-overview' import { FrameworkLinks } from 'components/framework-link' import { Anchor } from 'components/mdx-components/anchor' import { InlineCode } from 'components/mdx-components/inline-code' import { LinkedHeading } from 'components/mdx-components/linked-heading' import { Pre } from 'components/mdx-components/pre' import { Table, TData, THead } from 'components/mdx-components/table' import { PackageManagers } from 'components/package-managers' import SandpackEmbed from 'components/sandpack-embed' import { TutorialCodeBlock } from 'components/tutorial/tutorial-code-block' import { TutorialFileAction } from 'components/tutorial/tutorial-file-action' import NextImage from 'next/image' import { FiFigma } from 'react-icons/fi' import PropsTable from '../props-table' import CarbonAd from './carbon-ad' import CodeBlock from './codeblock/codeblock' import ComponentLinks from './component-links' import { FeaturesCourses } from './course-banner' import IconsList from './icons-list' import { VideoPlayer } from './video-player' const { Alert, AspectRatio, Box, chakra, Kbd, Link } = Chakra export const MDXComponents = { ...Chakra, FiFigma, Image: ({ ratio, border, src, ...props }: any) => ( ), LinkedImage: ({ href, ...props }) => ( ), h1: (props) => , h2: (props) => , h3: (props) => , h4: (props) => , hr: (props) => , strong: (props) => , code: InlineCode, pre: (props) => { if (typeof props.children === 'string') return
    if (props.children.props.type === 'tutorial') {
      const className = props.children.props.className || ''
      const code = props.children.props.children.trim() || ''
      const language = className.replace(/language-/, '')
      return (
        
      )
    }
    return 
  },
  kbd: Kbd,
  br: ({ reset, ...props }) => (
    
  ),
  table: Table,
  th: THead,
  td: TData,
  a: Anchor,
  p: (props) => ,
  ul: (props) => ,
  ol: (props) => ,
  li: (props) => ,
  blockquote: (props) => (
    
  ),
  'carbon-ad': CarbonAd,
  ComponentLinks,
  IconsList,
  PropsTable,
  FrameworkLinks,
  VideoPlayer,
  AspectRatio,
  ColorPalette,
  ColorPalettes,
  ColorWrapper,
  FeaturesCourses,
  JoinCommunityCards,
  SandpackEmbed: (props) => (
    
      
    
  ),
  FeaturesOverview,
  TutorialFileAction,
  PackageManagers,
}