Skip to content

Commit

Permalink
chore: remove background color argument
Browse files Browse the repository at this point in the history
  • Loading branch information
karimim committed Sep 30, 2024
1 parent b650a9c commit 3ebff16
Showing 1 changed file with 1 addition and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,6 @@ const meta: MetaComponent = {
category: 'General',
},
},
backgroundColor: {
name: 'Background color',
description: 'Define a background color, either `bg-primary` or `bg-yellow`.',
control: {
type: 'radio',
labels: {
yellow: 'Yellow',
primary: 'Primary',
},
},
options: ['primary', 'yellow'],
table: {
category: 'General',
type: {
summary: 'HTML class attribute',
},
},
},
closeButtonCaption: {
name: 'Close button caption',
},
Expand Down Expand Up @@ -95,7 +77,7 @@ function render(args: Args) {
</button>
</div>
<post-popover
class="hydrated bg-${args.backgroundColor}"
class="hydrated"
id="${args.id}"
placement="${args.placement}"
?arrow="${args.arrow}"
Expand Down

0 comments on commit 3ebff16

Please sign in to comment.