@findnlink/ui
Version:
Findnlink design system
13 lines (12 loc) • 397 B
TypeScript
import { HTMLAttributes, ReactNode } from 'react';
export interface ButtonProps extends HTMLAttributes<HTMLButtonElement> {
children: ReactNode;
/** Change the variant */
primary?: boolean;
/** Disable the button */
disabled?: boolean;
/** Size of the button */
scale?: 's' | 'm' | 'l' | 'xl';
weight?: 'light' | 'normal' | 'bold';
href?: string;
}