UNPKG

design-system-simplefi

Version:

Design System for SimpleFi Applications

10 lines (9 loc) 451 B
import { ButtonProps } from '../Button/Button.types'; import { Colors } from '../../theme/colors/colors.types'; import { UseTooltipOptions } from '../Tooltip/hooks/useTooltip.types'; export declare type IconButtonProps = Pick<ButtonProps, 'iconName' | 'iconType' | 'to' | 'href' | 'onClick' | 'margin'> & { label: string; color?: keyof Colors; showLabelTooltip?: boolean; tooltipPlacement?: UseTooltipOptions['placement']; };