import * as React from 'react'; import { IconType } from '../types'; type SiMdxProps = React.ComponentPropsWithoutRef<'svg'> & { /** * The title provides an accessible short text description to the SVG */ title?: string; /** * Hex color or color name or "default" to use the default hex for each icon */ color?: string; /** * The size of the Icon. */ size?: string | number; } const defaultColor = '#1B1F24'; const SiMdx: IconType = React.forwardRef(function SiMdx({title = 'MDX', color = 'currentColor', size = 24, ...others }, ref) { if (color === 'default') { color = defaultColor; } return ( {title} ); }); export { SiMdx as default, defaultColor };