From dec87e2a665c5cd1c75686dda388c042a1b042f6 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 9 Nov 2019 08:28:09 +0100 Subject: Add stories for Header & JoinUs --- components/NavLink.stories.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 components/NavLink.stories.js (limited to 'components/NavLink.stories.js') diff --git a/components/NavLink.stories.js b/components/NavLink.stories.js new file mode 100644 index 0000000..44fe6ae --- /dev/null +++ b/components/NavLink.stories.js @@ -0,0 +1,19 @@ +import { storiesOf } from '@storybook/vue' +import { center } from '../.storybook/decorators' + +import NavLink from './NavLink' + +const navLink = { + name: 'Test', + link: '/test' +} + +storiesOf('NavLink', module) + .addDecorator(center) + .add('default', () => { + return { + components: { NavLink }, + template: ``, + data: () => navLink + } + }) -- cgit 1.4.1