Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 9df688c

Browse files
committed
chore: Fixes props validator issue with CBotton component, when size set to "xs".
1 parent eb3cf70 commit 9df688c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/chakra-ui-core/src/CButton/utils/button.props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const buttonProps = {
3333
size: {
3434
type: String,
3535
default: 'md',
36-
validator: value => value.match(/^(sm|md|lg)$/)
36+
validator: value => value.match(/^(xs|sm|md|lg)$/)
3737
},
3838
loadingText: {
3939
type: String,

0 commit comments

Comments
 (0)