mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(notification): prevent class from being overridden by $$restProps
This commit is contained in:
parent
d09f0f8731
commit
38a5075354
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
<script>
|
<script>
|
||||||
import { Button } from "../Button";
|
import Button from "../Button/Button.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
kind="ghost"
|
kind="ghost"
|
||||||
size="small"
|
size="small"
|
||||||
class="bx--inline-notification__action-button"
|
|
||||||
{...$$restProps}
|
{...$$restProps}
|
||||||
|
class="bx--inline-notification__action-button {$$restProps.class}"
|
||||||
on:click
|
on:click
|
||||||
on:mouseover
|
on:mouseover
|
||||||
on:mouseenter
|
on:mouseenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue