mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -26,10 +26,10 @@
|
|||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
||||
<button
|
||||
type="button"
|
||||
aria-label="{iconDescription}"
|
||||
title="{iconDescription}"
|
||||
class:bx--toast-notification__close-button="{notificationType === 'toast'}"
|
||||
class:bx--inline-notification__close-button="{notificationType === 'inline'}"
|
||||
aria-label={iconDescription}
|
||||
title={iconDescription}
|
||||
class:bx--toast-notification__close-button={notificationType === "toast"}
|
||||
class:bx--inline-notification__close-button={notificationType === "inline"}
|
||||
{...$$restProps}
|
||||
on:click
|
||||
on:mouseover
|
||||
|
@ -37,9 +37,9 @@
|
|||
on:mouseleave
|
||||
>
|
||||
<svelte:component
|
||||
this="{icon}"
|
||||
size="{20}"
|
||||
title="{title}"
|
||||
this={icon}
|
||||
size={20}
|
||||
{title}
|
||||
class="{notificationType === 'toast' &&
|
||||
'bx--toast-notification__close-icon'} {notificationType === 'inline' &&
|
||||
'bx--inline-notification__close-icon'}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue