Skip to content

Commit

Permalink
fix: add dynamic class prop to component
Browse files Browse the repository at this point in the history
  • Loading branch information
therufa committed Mar 22, 2021
1 parent 4134d16 commit cd1eb43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const renderWithIcons = mdi => function render(v2h, v2ctx) {
: {}
),
[`mdi mdi-${props.name}`]: true,
'mdi-spin': props.spin === true
'mdi-spin': props.spin === true,
...data.class
}
}, [
h('svg', {
Expand Down

0 comments on commit cd1eb43

Please sign in to comment.