mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
NamedLink: simple example to test styleguide
This commit is contained in:
parent
136552c0d7
commit
580b58dd3b
2 changed files with 14 additions and 0 deletions
10
src/components/NamedLink/NamedLink.example.js
Normal file
10
src/components/NamedLink/NamedLink.example.js
Normal 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',
|
||||
},
|
||||
};
|
||||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue