Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit d4ce81b

Browse files
authored
chore: fix ts error in example
1 parent ca6b02d commit d4ce81b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/typescript/src/components/Button.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ const kinds = (outline: boolean): Kinds => {
4949
}
5050

5151
export interface ButtonProps {
52-
scale: 'small' | 'normal' | 'big'
53-
kind: 'primary' | 'secondary' | 'cancel' | 'dark' | 'gray'
54-
outline: boolean
52+
scale: 'small' | 'normal' | 'big';
53+
kind: 'primary' | 'secondary' | 'cancel' | 'dark' | 'gray';
54+
outline: boolean;
5555
}
5656

5757
const getScale = ({ scale = 'normal' }: ButtonProps) => scales[scale]

0 commit comments

Comments
 (0)