react-neat-ui
Version:
A customisable react component library focused on neat and clean approach.
15 lines (14 loc) • 527 B
TypeScript
/** @jsxImportSource theme-ui */
import React from 'react';
export interface ButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, React.AriaAttributes {
children: React.ReactNode;
variant?: string;
fill?: string;
size?: 'lg' | 'md' | 'sm';
border?: 'sharp' | 'rounded' | 'pill' | 'circle';
leftIcon?: React.ReactNode;
rightIcon?: React.ReactNode;
icon?: React.ReactNode;
}
declare const Button: React.FC<ButtonProps>;
export { Button };