[@types-baseui] fix button size interface (#36504)

This commit is contained in:
Alex Zywiak
2019-07-01 11:11:17 -07:00
committed by Ryan Cavanaugh
parent 020e04aeb2
commit 55f2f3126d
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -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
+2 -2
View File
@@ -10,9 +10,9 @@ export interface KIND {
}
export interface SIZE {
compact: 'compact';
default: 'default';
round: 'round';
square: 'square';
large: 'large';
}
export interface SHAPE {