Add group to examples

This commit is contained in:
Kimmo Puputti 2017-05-29 11:09:34 +03:00
parent 8c0a228926
commit 7d6950b127
23 changed files with 24 additions and 0 deletions

View file

@ -82,4 +82,5 @@ class AddImagesTest extends Component {
export const Empty = {
component: AddImagesTest,
group: 'inputs',
};

View file

@ -37,4 +37,5 @@ export const Empty = {
console.log('birthday changed to:', birthday ? birthday.toUTCString() : birthday);
},
},
group: 'inputs',
};

View file

@ -39,6 +39,7 @@ export const EmptyWithEnUS = {
currencyConfig: defaultConfig,
locale: 'en-US',
},
group: 'inputs',
};
// Default value with fi-FI locale
@ -49,4 +50,5 @@ export const defaultValueWithFiFI = {
locale: 'fi-FI',
defaultValue: 9999.99,
},
group: 'inputs',
};

View file

@ -73,4 +73,5 @@ export const Empty = {
console.log('Submitting a form with values:', v);
},
},
group: 'inputs',
};

View file

@ -65,4 +65,5 @@ class FormContainer extends Component {
export const Empty = {
component: FormContainer,
group: 'inputs',
};

View file

@ -7,4 +7,5 @@ export const NamedLinkToSearchPage = {
name: 'SearchPage',
children: 'SearchPage',
},
group: 'navigation',
};

View file

@ -46,4 +46,5 @@ Pagination.propTypes = {
export const Empty = {
component: withRouter(Pagination),
group: 'navigation',
};

View file

@ -77,4 +77,5 @@ class FormContainer extends Component {
export const Empty = {
component: FormContainer,
group: 'inputs',
};

View file

@ -13,4 +13,5 @@ export const Empty = {
{ text: 'Selected', linkProps: selfLinkProps, selected: true },
],
},
group: 'navigation',
};

View file

@ -33,4 +33,5 @@ const TabsWrapper = () => {
export const Example = {
component: TabsWrapper,
props: {},
group: 'navigation',
};

View file

@ -10,4 +10,5 @@ export const Empty = {
},
price: new types.Money(1099, 'USD'),
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('submit new password form values:', values);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('submit new password form values:', values);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('Submit EditListingDescriptionForm with (unformatted) values:', values);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('Submit EditListingLocationForm with (unformatted) values:', values);
},
},
group: 'forms',
};

View file

@ -16,4 +16,5 @@ export const Empty = {
console.log('onUpdateImageOrder with new imageOrder:', imageOrder);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('Submit EditListingPricingForm with (unformatted) values:', values);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('log in with form values:', values);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('submit forgotten password email:', values);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const USD = {
console.log('submit payout details:', values); // eslint-disable-line
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('submit search query:', values);
},
},
group: 'forms',
};

View file

@ -8,4 +8,5 @@ export const Empty = {
console.log('sign up with form values:', values);
},
},
group: 'forms',
};

View file

@ -23,4 +23,5 @@ class StripePaymentFormExample extends Component {
export const Empty = {
component: StripePaymentFormExample,
props: { intl: fakeIntl },
group: 'forms',
};