vdk-components
Version:
React component library built with TypeScript and SCSS
25 lines (24 loc) • 469 B
TypeScript
import React from 'react';
export interface ButtonProps {
/**
* Button contents
*/
label: string;
/**
* Optional click handler
*/
onClick?: () => void;
/**
* Button variant
*/
variant?: 'primary' | 'secondary' | 'outline';
/**
* Button size
*/
size?: 'small' | 'medium' | 'large';
/**
* Disabled state
*/
disabled?: boolean;
}
export declare const Button: React.FC<ButtonProps>;