import { Property } from 'csstype'; import { ReactNode } from 'react'; import { ColorPropertyTheme, SpacingPropertyTheme, TLength } from '../../styles/typings'; export type TagProps = { kind?: ColorPropertyTheme; bgColor?: ColorPropertyTheme | Property.BackgroundColor; fontColor?: ColorPropertyTheme | Property.Color; size?: 'small' | 'medium' | 'large'; onClick?: (event: React.MouseEvent) => void; className?: string; marginLeft?: SpacingPropertyTheme | Property.Margin; marginRight?: SpacingPropertyTheme | Property.Margin; marginTop?: SpacingPropertyTheme | Property.Margin; marginBottom?: SpacingPropertyTheme | Property.Margin; icon?: ReactNode; };