goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
16 lines • 683 B
TypeScript
import { default as React } from 'react';
import { ButtonProps } from '../Button';
export interface IconButtonProps extends Omit<ButtonProps, 'text'> {
/** Size of the icon button */
size?: 'small' | 'medium' | 'large';
/** Color scheme for the button */
color?: 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning' | 'default';
/** The icon element to display */
children: React.ReactNode;
}
/**
* A button component specifically designed for icon-only usage.
*/
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
export default IconButton;
//# sourceMappingURL=index.d.ts.map