UNPKG

lost-sia

Version:

Single Image Annotation Tool

26 lines (25 loc) 994 B
import { IconDefinition } from '@fortawesome/free-solid-svg-icons'; import { CSSProperties } from 'react'; import { SizeProp } from '@fortawesome/fontawesome-svg-core'; type IconButtonProps = { loadingSize?: SizeProp; isLoading?: boolean; margin?: number; icon?: IconDefinition; text?: string; size?: 'sm' | 'lg' | undefined; isTextLeft?: boolean; style?: CSSProperties; id?: string; type?: 'button' | 'submit' | 'reset' | undefined; disabled?: boolean; onClick?: () => void; className?: string; color?: string; isOutline?: boolean; tooltip?: string; ttipPlacement?: 'top' | 'left' | 'right' | 'auto' | 'bottom' | undefined; shape?: string; }; declare const IconButton: ({ loadingSize, isLoading, margin, icon, text, size, isTextLeft, style, id, type, disabled, onClick, className, color, isOutline, tooltip, ttipPlacement, shape, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element; export default IconButton;