chore: Update 'class' to 'classNames' attributes in dropdown

This commit is contained in:
Susmitha Girumala committed 2020-08-11 18:59:34 -04:00
1 parent cfe1d31636
commit 518ce7c199
2 files changed
+2 -2

No files matched your search

@@ -2,7 +2,7 @@
...attributes
type={{if @submit "submit" "button"}}
disabled={{if @disabled "disabled"}}
class="{{@class}} {{if @style (concat "rose-button-" @style)}} {{if @iconLeft "has-icon-left"}} {{if @iconRight "has-icon-right"}} {{if @iconOnly "has-icon-only"}}"
class="{{@classNames}} {{if @style (concat "rose-button-" @style)}} {{if @iconLeft "has-icon-left"}} {{if @iconRight "has-icon-right"}} {{if @iconOnly "has-icon-only"}}"
>
<span class="rose-button-wrapper">
@@ -25,7 +25,7 @@
<div class="rose-dropdown-content" {{on-click-inside this.close}}>
{{yield (hash
link=(component "link-to" class="rose-dropdown-link")
button=(component "rose/button" class="rose-dropdown-button" style=this.style)
button=(component "rose/button" classNames="rose-dropdown-button" style=this.style)
)}}
</div>