diff --git a/components/legacy-components/stories/article-card.stories.js b/components/legacy-components/stories/article-card.stories.js new file mode 100644 index 0000000000..7f7fed220e --- /dev/null +++ b/components/legacy-components/stories/article-card.stories.js @@ -0,0 +1,29 @@ +import { ArticleCard } from '../src/article-card'; + +export default { + title: 'Legacy/Article Card', + component: ArticleCard, + tags: ['autodocs'], + parameters: { + layout: 'fullscreen', + }, +}; + +export const Default = { + args: { + article: { + title: "Test Article", + slug: "/#", + date: new Date(), + image: { + thumbnail: "https://avatars.githubusercontent.com/u/440052" + }, + content: { + excerpt: "This is some test copy" + } + }, + withBody: true, + withImage: true, + withDate: true, + } +}; diff --git a/components/legacy-components/stories/footer.stories.js b/components/legacy-components/stories/footer.stories.js new file mode 100644 index 0000000000..61fc832f44 --- /dev/null +++ b/components/legacy-components/stories/footer.stories.js @@ -0,0 +1,12 @@ +import { Footer } from '../src/footer'; + +export default { + title: 'Legacy/Footer', + component: Footer, + tags: ['autodocs'], + parameters: { + layout: 'fullscreen', + }, +}; + +export const Default = {}; diff --git a/components/legacy-components/stories/form.stories.js b/components/legacy-components/stories/form.stories.js new file mode 100644 index 0000000000..939c2c654b --- /dev/null +++ b/components/legacy-components/stories/form.stories.js @@ -0,0 +1,31 @@ +import { Form, Input, InlineGroup, TextArea, Submit } from '../src/form'; + +export default { + title: 'Legacy/Form', + component: Form, + tags: ['autodocs'], + parameters: { + layout: 'fullscreen', + }, +}; + +export const Default = { + render: () => +
+ + + +