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

fix: add an unstyled variant to the c-button validators #459

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/dull-rats-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chakra-ui/vue": patch
---

fix: add an unstyled variant to the c-button validators
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