UNPKG

nowt-ui-library

Version:

Nothing unnecessary. Just clean UI.A lightweight and customizable UI component library built for speed and simplicity for React and Next.js.

15 lines (14 loc) 385 B
import React from 'react'; type ButtonProps = { label: string; onClick?: () => void; size?: 'small' | 'medium' | 'large'; variant?: 'primary' | 'secondary' | 'danger' | 'outline'; loading?: boolean; disabled?: boolean; fullWidth?: boolean; bgColor?: string; textColor?: string; }; declare const Button: React.FC<ButtonProps>; export default Button;