mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
feat: initial commit
This commit is contained in:
parent
bde7dd644f
commit
72dc38ea56
119 changed files with 14925 additions and 1 deletions
14
src/components/Loading/Loading.stories.js
Normal file
14
src/components/Loading/Loading.stories.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { withKnobs, boolean, text } from '@storybook/addon-knobs';
|
||||
import Component from './Loading.Story.svelte';
|
||||
|
||||
export default { title: 'Loading', decorators: [withKnobs] };
|
||||
|
||||
export const Default = () => ({
|
||||
Component,
|
||||
props: {
|
||||
active: boolean('Active (active)', true),
|
||||
withOverlay: boolean('With overlay (withOverlay)', false),
|
||||
small: boolean('Small (small)', false),
|
||||
description: text('Description (description)', 'Active loading indicator')
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue