Skip to content

Commit

Permalink
feat(card): set className as direct string
Browse files Browse the repository at this point in the history
  • Loading branch information
Leotheluck authored and dpellier committed Jul 29, 2024
1 parent ec30d5f commit edab630
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class OdsCard {

render(): FunctionalComponent {
return (
<Host class={ 'ods-card' }>
<Host class='ods-card'>
<div class={ `ods-card__wrapper ods-card__wrapper--${this.color}` } part={ 'card' }>
<slot></slot>
</div>
Expand Down

0 comments on commit edab630

Please sign in to comment.