mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26: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>
|
||||
import { Button } from "../Button";
|
||||
import Button from "../Button/Button.svelte";
|
||||
</script>
|
||||
|
||||
<Button
|
||||
kind="ghost"
|
||||
size="small"
|
||||
class="bx--inline-notification__action-button"
|
||||
{...$$restProps}
|
||||
class="bx--inline-notification__action-button {$$restProps.class}"
|
||||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue