Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau authored and Robonau committed Nov 21, 2024
1 parent 3dd1af4 commit 133c464
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lib/components/switch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
inactive?: CssClasses;
/** Provide classes to set the active state background color. */
active?: CssClasses;
/** Provide classes to set the active state background color. */
indeterminate?: CssClasses;
/** Provide classes to set the border styles. */
border?: CssClasses;
/** Provide classes to set border radius styles. */
Expand All @@ -38,7 +36,6 @@
// Provide a semantic label.
label?: string;
children?: import('svelte').Snippet;
onchange?: (e: boolean) => void;
onkeydown?: (
e: KeyboardEvent & {
currentTarget: EventTarget & HTMLDivElement;
Expand All @@ -53,13 +50,11 @@
size = 'md',
inactive = 'bg-surface-400 dark:bg-surface-700',
active = 'bg-surface-900 dark:bg-surface-300',
indeterminate = 'bg-surface-500 dark:bg-surface-500',
border = '',
rounded = 'rounded-full',
labelClass = 'ml-3',
label = '',
class: clasNames = '',
onchange = () => {},
onkeydown = () => {},
children,
...rest
Expand Down

0 comments on commit 133c464

Please sign in to comment.