fix(notification): prevent class from being overridden by $$restProps

This commit is contained in:
Eric Liu 2021-01-22 12:14:41 -08:00
commit 38a5075354

View file

@ -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