@cbinsights/fds
Version:
Form: A design system by CB Insights
12 lines (11 loc) • 358 B
TypeScript
/// <reference types="react" />
export interface IconProps {
/** Controls color of the Icon */
color?: string;
/** Control the size of the Icon */
size?: 'xs' | 's' | 'm' | 'l' | 'xl';
/** Use this if you want to specify a custom size */
customSize?: number;
}
declare type Icon = React.ComponentType<IconProps>;
export default Icon;