UNPKG

@devbookhq/ui

Version:

Devbook UI is a React UI library

11 lines (10 loc) 385 B
import { MouseEvent as ReactMouseEvent } from 'react'; export interface Props { onClick?: (event: ReactMouseEvent<HTMLButtonElement, MouseEvent>) => void; text: string; lightTheme?: boolean; disabled?: boolean; isLoading?: boolean; } declare function Button({ onClick, text, lightTheme, disabled, isLoading, }: Props): JSX.Element; export default Button;