Skip to content

Commit 76eb229

Browse files
committed
refactor(tag): 🏷️ rename TagSizes type to TagSize
1 parent 8c4ec15 commit 76eb229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/tag/Tag.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
import { createIcon } from "../create-icon";
1717
import { Icon } from "../icon";
1818

19-
export type TagSizes = "sm" | "md" | "lg" | "xl";
19+
export type TagSize = "sm" | "md" | "lg" | "xl";
2020
export type TagVariant = "solid" | "subtle" | "outline";
2121
export type TagTheme = "base" | "primary";
2222

@@ -25,7 +25,7 @@ export interface TagProps extends PressableProps {
2525
* The size of the Tag component.
2626
* @default md
2727
*/
28-
size: TagSizes;
28+
size: TagSize;
2929
/**
3030
* The variant of the Tag component.
3131
* @default solid

0 commit comments

Comments
 (0)