chore: Update 'class' to 'classNames' attributes in dropdown
This commit is contained in:
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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user