Skip to content

Commit 80c81b1

Browse files
committed
react-native: SelectButton default size -> Md; update README and shared types JSDoc to match intended default
1 parent 5035d27 commit 80c81b1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/design-system-react-native/src/components/SelectButton/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Available values:
305305

306306
| TYPE | REQUIRED | DEFAULT |
307307
| ------------------ | -------- | --------------------- |
308-
| `SelectButtonSize` | No | `SelectButtonSize.Sm` |
308+
| `SelectButtonSize` | No | `SelectButtonSize.Md` |
309309

310310
```tsx
311311
import {

packages/design-system-react-native/src/components/SelectButton/SelectButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const SelectButton = ({
2424
endArrowDirectionIconProps,
2525
variant = SelectButtonVariant.Primary,
2626
isLoading = false,
27-
size = SelectButtonSize.Sm,
27+
size = SelectButtonSize.Md,
2828
twClassName = '',
2929
style,
3030
...buttonBaseRest

packages/design-system-shared/src/types/SelectButton/SelectButton.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export type SelectButtonPropsShared = {
4848
/**
4949
* Height size of the button. Maps 1:1 to ButtonBaseSize values.
5050
*
51-
* @default Sm
51+
* @default Md
5252
*/
5353
size?: SelectButtonSize;
5454
/**

0 commit comments

Comments
 (0)