import { ReactNode } from 'react'; import { ComposedSvgProps, ComposedColorProps } from '../private/utils/composers/types'; export interface SvgPathProps extends ComposedSvgProps { } export interface SvgProps extends ComposedSvgProps, ComposedColorProps { /** * The SVG content */ readonly children?: ReactNode; /** * A string with classes to use in the Svg component. */ readonly className?: string; /** * A reference which be linked to the DOM svg element. */ readonly ref?: React.ForwardedRef; /** * A svg component */ readonly src?: React.FunctionComponent>; /** * A svg component imported using SVGR as below: * import { ReactComponent as Logo } from './logo.svg'; */ readonly title?: string; /** * A custom viewbox used in the SVG component. */ readonly viewBox?: string; }