constants.ts 531 B

12345678910111213141516171819
  1. import { BASE_CLASS_PREFIX } from '../base/constants';
  2. const cssClasses = {
  3. PREFIX: `${BASE_CLASS_PREFIX}-button`,
  4. };
  5. const strings = {
  6. sizes: ['default', 'small', 'large'],
  7. iconPositions: ['left', 'right'],
  8. htmlTypes: ['button', 'reset', 'submit'],
  9. btnTypes: ['primary', 'secondary', 'tertiary', 'warning', 'danger'],
  10. themes: ['solid', 'borderless', 'light'],
  11. DEFAULT_ICON_SIZE: 'default',
  12. DEFAULT_ICON_POSITION: 'left',
  13. } as const;
  14. const numbers = {};
  15. export { cssClasses, strings, numbers };