UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

12 lines 652 B
import { Button, ButtonProps, Polymorphic } from '../..'; export declare type IconButtonProps<T = Record<string, unknown>> = Pick<ButtonProps, 'kind' | 'dimension' | 'icon' | 'disabled' | 'onClick' | 'busy'> & { /** * Enable a squared shape for the button. Useful when the element is placed * near another standard button. */ squared?: boolean; } & T; declare type PolymorphicIconButton = Polymorphic.ForwardRefComponent<Polymorphic.IntrinsicElement<typeof Button>, IconButtonProps<Polymorphic.OwnProps<typeof Button>>>; export declare const IconButton: PolymorphicIconButton; export {}; //# sourceMappingURL=icon-button.d.ts.map