@findnlink/ui
Version:
Findnlink design system
14 lines (12 loc) • 375 B
text/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
}