-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(User): add html titles for elements (#1982)
- Loading branch information
Showing
3 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
import type {UserSize} from './types'; | ||
|
||
export const COMPACT_SIZES: UserSize[] = ['xs', '2xs']; | ||
export const COMPACT_SIZES: Set<UserSize> = new Set(['xs', '2xs']); | ||
export const DEFAULT_SIZE: UserSize = 'm'; | ||
|
||
export const UserQa = { | ||
NAME: 'user-name', | ||
DESCRIPTION: 'user-description', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export type {UserSize, UserProps} from './types'; | ||
export {UserQa} from './constants'; | ||
export {User} from './User'; |