UNPKG

wabi-sabi-ds

Version:

Abundance's Wabi Sabi Design System.

17 lines (16 loc) 749 B
import * as T from './Button.types'; /** * Custom WabiSabi button component * * @param size - The size of the component ranging from '56', '48', '40', '32', '24' and '16'. * @param variant - Visual style of the button: 'primary', 'secondary-outline', * 'secondary-outline-ghost', 'tertiary', 'text', 'destructive'. * @param disabled - Disable button interactions. * @param active - Keep the button states as active (same when it is clicked). * @param isLoading - Show a loading message and disable the button while true. * @param loadingMessage - Set a custom loading message when isLoading. * * @returns A button element. */ declare function Button(props: T.ButtonProps): import("react/jsx-runtime").JSX.Element; export default Button;