Skip to content

Commit 0e3ab61

Browse files
authored
fix: Variant/Color type infer (#6885)
1 parent fad2751 commit 0e3ab61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type Variant =
1010
| 'info'
1111
| 'dark'
1212
| 'light'
13-
| string;
13+
| (string & {});
1414
export type ButtonVariant =
1515
| Variant
1616
| 'link'
@@ -33,7 +33,7 @@ export type Color =
3333
| 'light'
3434
| 'white'
3535
| 'muted'
36-
| string;
36+
| (string & {});
3737

3838
export type Placement = import('@restart/ui/usePopper').Placement;
3939

0 commit comments

Comments
 (0)