Skip to content

Commit

Permalink
props.class.join(" "),
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed May 21, 2024
1 parent 1a21717 commit 6285331
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bau-ui/button/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default function (context, options = {}) {
size,
color,
className,
props.class,
props.class.join(" "),
],
href,
},
Expand Down
2 changes: 1 addition & 1 deletion bau-ui/input/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function (context, options = {}) {
color,
variant,
className,
otherProps.class,
props.class.join(" "),
],
});
};
Expand Down
4 changes: 1 addition & 3 deletions bau-ui/inputSearch/inputSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export default function (context, options = {}) {
...otherProps,
color,
variant,
class: ["inputSearch", options.class, className, otherProps.class].join(
" "
),
class: ["inputSearch", options.class, className, otherProps.class],
});
};
}
2 changes: 1 addition & 1 deletion bau-ui/loadingButton/loadingButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function (context, options = {}) {
loading && "loading",
options?.class,
props?.class,
].join(" "),
],
},
Spinner({ size, variant, color, visibility: loading }),
span({ class: loading && "loading" }, children)
Expand Down

0 comments on commit 6285331

Please sign in to comment.