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
13
src/components/Link/Link.stories.js
Normal file
13
src/components/Link/Link.stories.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { withKnobs, boolean, text } from '@storybook/addon-knobs';
|
||||
import Component from './Link.Story.svelte';
|
||||
|
||||
export default { title: 'Link', decorators: [withKnobs] };
|
||||
|
||||
export const Default = () => ({
|
||||
Component,
|
||||
props: {
|
||||
href: text('The link href (href)', '#'),
|
||||
inline: boolean('Use the in-line variant (inline)', false),
|
||||
disabled: boolean('Disabled (disabled)', false)
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue