mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
chore(lint): apply recommended lint rules
This commit is contained in:
parent
709bd2825b
commit
866cc962cd
23 changed files with 35 additions and 54 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
import { onMount, afterUpdate } from 'svelte';
|
||||
import ChevronDown16 from 'carbon-icons-svelte/lib/ChevronDown16';
|
||||
import { cx, css } from '../../lib';
|
||||
import { cx } from '../../lib';
|
||||
|
||||
let tile = undefined;
|
||||
let tileContent = undefined;
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
import { withKnobs, select, number, boolean, text } from '@storybook/addon-knobs';
|
||||
import { withKnobs, number, boolean, text } from '@storybook/addon-knobs';
|
||||
import Component from './Tile.Story.svelte';
|
||||
|
||||
export default { title: 'Tile', decorators: [withKnobs] };
|
||||
|
||||
export const Default = () => ({
|
||||
Component,
|
||||
props: {
|
||||
light: boolean('Light variant (light)', false)
|
||||
}
|
||||
props: { light: boolean('Light variant (light)', false) }
|
||||
});
|
||||
|
||||
export const Clickable = () => ({
|
||||
|
@ -28,13 +26,6 @@ export const MultiSelect = () => ({
|
|||
}
|
||||
});
|
||||
|
||||
const radioValues = {
|
||||
None: '',
|
||||
standard: 'standard',
|
||||
'default-selected': 'default-selected',
|
||||
selected: 'selected'
|
||||
};
|
||||
|
||||
export const Selectable = () => ({
|
||||
Component,
|
||||
props: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue