@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
20 lines (19 loc) • 565 B
TypeScript
/**
* Defines the look and feel of an Adaptable Button
*/
export interface ButtonStyle {
/**
* How Button appears - values: 'text', 'outlined', 'raised'
* @defaultValue 'outlined'
*/
variant?: 'text' | 'outlined' | 'raised';
/**
* Button's Tone - values: 'success', 'error', 'neutral', 'none', 'warning', 'info', 'accent'
* @defaultValue 'neutral'
*/
tone?: 'success' | 'error' | 'neutral' | 'none' | 'warning' | 'info' | 'accent';
/**
* CSS Classname to use for the Button
*/
className?: string;
}