UNPKG

@trellixio/roaster-coffee

Version:
23 lines 1.01 kB
import * as React from 'react'; export interface ButtonIconProps { /** The child elements to be rendered inside the button (required). */ children: React.ReactNode; /** * - 'close': use to close alert * - 'close-tag': use to close tag component * - 'close-modal': use to close modal */ variant?: 'close' | 'close-tag' | 'close-modal'; /** Whether the button should be disabled (optional). */ disabled?: boolean; /** Whether the button should submit a form (optional). */ submit?: boolean; /** A function to be called when the button is clicked (optional). */ onClick?(): void; /** CSS class names to be applied to the button element (optional). */ className?: string; /** Inline styles to be applied to the button element (optional). */ style?: React.CSSProperties; } export declare const ButtonIcon: React.ForwardRefExoticComponent<ButtonIconProps & React.RefAttributes<HTMLButtonElement>>; //# sourceMappingURL=ButtonIcon.d.ts.map