Skip to content

Instantly share code, notes, and snippets.

@nickgrato
Created November 9, 2022 18:13
Show Gist options
  • Save nickgrato/155473d4a9305908bbc59597dd8af387 to your computer and use it in GitHub Desktop.
Save nickgrato/155473d4a9305908bbc59597dd8af387 to your computer and use it in GitHub Desktop.
Buttons Enums
/**
* Enums are formatted in snake_case so that we can use the mapped
* value as a SCSS value.
*/
export enum ButtonCategoriesE {
PRIMARY_SOLID = 'primary_solid',
PRIMARY_OUTLINE = 'primary_outline',
PRIMARY_CLEAR = 'primary_clear',
SECONDARY_SOLID = 'secondary_solid',
SECONDARY_OUTLINE = 'secondary_outline',
SECONDARY_CLEAR = 'secondary_clear',
}
export enum ButtonSizesE {
SMALL = 'small',
MEDIUM = 'medium',
LARGE = 'large',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment