Skip to content

Commit

Permalink
Merge pull request #101 from bettyblocks/feat/add-card-component
Browse files Browse the repository at this point in the history
fix: set button option default to text
  • Loading branch information
wmahad authored Apr 22, 2020
2 parents e2588e5 + 29f0a6d commit 3a9bc15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/prefabs/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
type: 'CUSTOM',
label: 'variant',
key: 'variant',
value: 'contained',
value: 'text',
configuration: {
as: 'BUTTONGROUP',
dataType: 'string',
Expand Down Expand Up @@ -1722,7 +1722,7 @@
type: 'COLOR',
label: 'Text color',
key: 'textColor',
value: 'White',
value: 'Primary',
configuration: {
condition: {
type: 'HIDE',
Expand All @@ -1736,7 +1736,7 @@
type: 'COLOR',
label: 'color',
key: 'background',
value: 'Primary',
value: 'Secondary',
},
{
value: ['0rem', '0rem', '0rem', '0rem'],
Expand Down
6 changes: 3 additions & 3 deletions src/prefabs/cardActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
type: 'CUSTOM',
label: 'variant',
key: 'variant',
value: 'contained',
value: 'text',
configuration: {
as: 'BUTTONGROUP',
dataType: 'string',
Expand Down Expand Up @@ -1451,7 +1451,7 @@
type: 'COLOR',
label: 'Text color',
key: 'textColor',
value: 'White',
value: 'Primary',
configuration: {
condition: {
type: 'HIDE',
Expand All @@ -1465,7 +1465,7 @@
type: 'COLOR',
label: 'color',
key: 'background',
value: 'Primary',
value: 'Secondary',
},
{
value: ['0rem', '0rem', '0rem', '0rem'],
Expand Down

0 comments on commit 3a9bc15

Please sign in to comment.