@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
23 lines (22 loc) • 583 B
TypeScript
import { MouseEvent } from 'react';
export interface IButtonProps {
/**
* Padding property for button component
* @default ThemeButtonPadding
*/
padding?: string;
/**
* Background Color property for button component
* @default ThemeButtonBackgroundColor
*/
backgroundColor?: string;
/**
* Border Radius property for button component
* @default ThemeButtonBorderRadius
*/
borderRadius?: string;
/**
* onClick handler for button component
*/
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
}