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

Commit

Permalink
fix: add an unstyled variant to the c-button validators
Browse files Browse the repository at this point in the history
  • Loading branch information
abelnnieva committed Jul 12, 2021
1 parent be70c2a commit 58cabba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chakra-ui-core/src/CButton/utils/button.props.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const buttonProps = {
type: String,
default: 'solid',
validator: value =>
value.match(/^(solid|outline|ghost|flat|link)$/)
value.match(/^(solid|outline|ghost|flat|link|unstyled)$/)
},
variantColor: {
type: [String, Array],
Expand Down

0 comments on commit 58cabba

Please sign in to comment.