29 lines
512 B
TypeScript
29 lines
512 B
TypeScript
/**
|
|
* The types of the buttons.
|
|
*/
|
|
export enum BUTTON_TYPES {
|
|
DESTRUCTIVE = 'destructive',
|
|
PRIMARY = 'primary',
|
|
SECONDARY = 'secondary',
|
|
TERTIARY = 'tertiary'
|
|
}
|
|
|
|
/**
|
|
* Behaviour types for showing overflow text content.
|
|
*/
|
|
export enum TEXT_OVERFLOW_TYPES {
|
|
ELLIPSIS = 'ellipsis',
|
|
SCROLL_ON_HOVER = 'scroll-on-hover'
|
|
}
|
|
|
|
/**
|
|
* The modes of the buttons.
|
|
*/
|
|
export const BUTTON_MODES: {
|
|
CONTAINED: 'contained';
|
|
TEXT: 'text';
|
|
} = {
|
|
CONTAINED: 'contained',
|
|
TEXT: 'text'
|
|
};
|