mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
[@types-baseui] fix button size interface (#36504)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
020e04aeb2
commit
55f2f3126d
@@ -137,6 +137,9 @@ const NewStyledProgressSteps = styled<ProgressStepsStyleProps, typeof StyledProg
|
||||
<Button isLoading='nope'>Click Me</Button>; // $ExpectError
|
||||
<Button size='default'>Click Me</Button>;
|
||||
<Button size='huge'>Click Me</Button>; // $ExpectError
|
||||
<Button size="compact">Click Me</Button>;
|
||||
<Button size="default">Click Me</Button>;
|
||||
<Button size="large">Click Me</Button>;
|
||||
<Button shape='square'>Click Me</Button>;
|
||||
<Button shape='round'>Click Me</Button>;
|
||||
<Button shape='triangle'>Primary</Button>; // $ExpectError
|
||||
|
||||
Vendored
+2
-2
@@ -10,9 +10,9 @@ export interface KIND {
|
||||
}
|
||||
|
||||
export interface SIZE {
|
||||
compact: 'compact';
|
||||
default: 'default';
|
||||
round: 'round';
|
||||
square: 'square';
|
||||
large: 'large';
|
||||
}
|
||||
|
||||
export interface SHAPE {
|
||||
|
||||
Reference in New Issue
Block a user