NamedLink: simple example to test styleguide

This commit is contained in:
Vesa Luusua 2017-02-28 16:40:07 +02:00
parent 136552c0d7
commit 580b58dd3b
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,10 @@
/* eslint-disable no-console, import/prefer-default-export */
import NamedLink from './NamedLink';
export const NamedLinkToSearchPage = {
component: NamedLink,
props: {
name: 'SearchPage',
children: 'SearchPage',
},
};

View file

@ -1,5 +1,8 @@
// components
import * as BookingInfo from './components/BookingInfo/BookingInfo.example';
import * as NamedLink from './components/NamedLink/NamedLink.example';
// containers
import * as ChangeAccountPasswordForm
from './containers/ChangeAccountPasswordForm/ChangeAccountPasswordForm.example';
import * as ChangePasswordForm from './containers/ChangePasswordForm/ChangePasswordForm.example';
@ -15,6 +18,7 @@ export {
ChangePasswordForm,
HeroSearchForm,
LoginForm,
NamedLink,
PasswordForgottenForm,
SignUpForm,
};