Skip to content

Commit 9c45e11

Browse files
committed
refactor: ♻️ add default values for props in comments
1 parent 9d76e7b commit 9c45e11

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/components/button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export interface ButtonProps extends PressableProps {
7070
/**
7171
* If added, the button will show this spinner components
7272
*
73-
* @default Spinner Component
73+
* @default "<Spinner />"
7474
*/
7575
spinner: RenderPropType;
7676
/**

src/components/checkbox/Checkbox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export interface CheckboxProps extends TouchableProps {
3636
size: CheckboxSizes;
3737
/**
3838
* Checkbox Theme
39+
* @default base
3940
*/
4041
themeColor: CheckboxTheme;
4142
/**

src/components/circular-progress/CircularProgress.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ export type CircularProgressTheme = "base" | "primary";
2727
export interface CircularProgressProps extends BoxProps {
2828
/**
2929
* The size of the Circle
30+
* @default md
3031
*/
3132
size: CircularProgressSizes;
3233
/**
3334
* The size of the Circle
35+
* @default base
3436
*/
3537
themeColor: CircularProgressTheme;
3638
/**

src/components/meter/Meter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface MeterProps {
1818
size: MeterSizes;
1919
/**
2020
* Meter Theme
21-
* @defaul base
21+
* @default 'base'
2222
*/
2323
themeColor: MeterTheme;
2424
/**

0 commit comments

Comments
 (0)