Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

sizes

v1.0.4arrow_drop_down
v1.0.4
v1.0.3
v1.0.3
v1.0.2
v1.0.2
v1.0.1
v1.0.1
v1.0.0
v1.0.0
STATUS
Passing
DOWNLOADS
4,328
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
9 months ago
SIZE
524 B
Preset sizes enum, used across the application
1 contributor
Install sizes as a package?
Copied
npm i @bit/bit.base-ui.theme.sizes
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
sizes.ts
18 Lines(9 sloc)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

/**
 * Preset sizes enum, used across the application
 * @name PossibleSizes
 * @example
 * <Paragraph size={PossibleSizes.md} />
 */

export enum PossibleSizes {
  xxs = "xxs",
  xs = "xs",
  sm = "sm",
  md = "md",
  lg = "lg",
  xl = "xl",
  xxl = "xxl"
}