kylin-ui-component
Version:
A React UI library for some developers to develop quickly
28 lines (25 loc) • 414 B
TypeScript
const buttonType = [
'default',
'primary',
'secondary',
'success',
'info',
'error',
'ghost',
'dashed',
'link',
'text',
] as const
const commonType = [
'default',
'primary',
'secondary',
'success',
'info',
'error',
'disabled',
'warning',
'danger',
] as const
export type ButtonThemeType = (typeof buttonType)[number]
export type CommonThemeType = (typeof commonType)[number]