import { type BezierIcon } from '@channel.io/bezier-icons' import { type BezierComponentProps, type ColorProps, type MarginProps, type SizeProps, } from '~/src/types/props' export type IconSize = 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs' interface IconOwnProps { /** * Controls which icon should be rendered. * Inject the icon component from the `@channel.io/bezier-icons` package into this prop. * @example * ```tsx * import { HeartFilledIcon } from '@channel.io/bezier-icons' * import { Icon } from '@channel.io/bezier-react' * * * ``` */ source: BezierIcon } export interface IconProps extends Omit, keyof ColorProps>, MarginProps, SizeProps, ColorProps, IconOwnProps {}