import { ReactElement } from 'react'; import { DSCommonProps } from '../DSCommonProps.ts'; import { ComponentColor, ComponentSize } from '../../src/services/useTheme/defaultTheme.ts'; export interface DSIconProps extends DSCommonProps<'span'> { size?: DSIconSize; color?: DSIconColor; } export type DSIconColor = ComponentColor | 'disabled'; export type DSIconSize = ComponentSize | 'extra-small' | 'extra-large'; /** * DSIcon component * * This component renders an icon with a specified size. * It applies styles based on the provided `size` prop and displays the `icon` content. */ export default function DSIcon(p: DSIconProps): ReactElement;