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

Commit 58cabba

Browse files
committed
fix: add an unstyled variant to the c-button validators
1 parent be70c2a commit 58cabba

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
@@ -12,7 +12,7 @@ export const buttonProps = {
1212
type: String,
1313
default: 'solid',
1414
validator: value =>
15-
value.match(/^(solid|outline|ghost|flat|link)$/)
15+
value.match(/^(solid|outline|ghost|flat|link|unstyled)$/)
1616
},
1717
variantColor: {
1818
type: [String, Array],

0 commit comments

Comments
 (0)