mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 13:06:03 +10:00
Add group to examples
This commit is contained in:
parent
8c0a228926
commit
7d6950b127
23 changed files with 24 additions and 0 deletions
|
|
@ -82,4 +82,5 @@ class AddImagesTest extends Component {
|
|||
|
||||
export const Empty = {
|
||||
component: AddImagesTest,
|
||||
group: 'inputs',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -37,4 +37,5 @@ export const Empty = {
|
|||
console.log('birthday changed to:', birthday ? birthday.toUTCString() : birthday);
|
||||
},
|
||||
},
|
||||
group: 'inputs',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -73,4 +73,5 @@ export const Empty = {
|
|||
console.log('Submitting a form with values:', v);
|
||||
},
|
||||
},
|
||||
group: 'inputs',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -65,4 +65,5 @@ class FormContainer extends Component {
|
|||
|
||||
export const Empty = {
|
||||
component: FormContainer,
|
||||
group: 'inputs',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ export const NamedLinkToSearchPage = {
|
|||
name: 'SearchPage',
|
||||
children: 'SearchPage',
|
||||
},
|
||||
group: 'navigation',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -46,4 +46,5 @@ Pagination.propTypes = {
|
|||
|
||||
export const Empty = {
|
||||
component: withRouter(Pagination),
|
||||
group: 'navigation',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -77,4 +77,5 @@ class FormContainer extends Component {
|
|||
|
||||
export const Empty = {
|
||||
component: FormContainer,
|
||||
group: 'inputs',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -13,4 +13,5 @@ export const Empty = {
|
|||
{ text: 'Selected', linkProps: selfLinkProps, selected: true },
|
||||
],
|
||||
},
|
||||
group: 'navigation',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -33,4 +33,5 @@ const TabsWrapper = () => {
|
|||
export const Example = {
|
||||
component: TabsWrapper,
|
||||
props: {},
|
||||
group: 'navigation',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -10,4 +10,5 @@ export const Empty = {
|
|||
},
|
||||
price: new types.Money(1099, 'USD'),
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('submit new password form values:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('submit new password form values:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('Submit EditListingDescriptionForm with (unformatted) values:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('Submit EditListingLocationForm with (unformatted) values:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,4 +16,5 @@ export const Empty = {
|
|||
console.log('onUpdateImageOrder with new imageOrder:', imageOrder);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('Submit EditListingPricingForm with (unformatted) values:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('log in with form values:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('submit forgotten password email:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const USD = {
|
|||
console.log('submit payout details:', values); // eslint-disable-line
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('submit search query:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ export const Empty = {
|
|||
console.log('sign up with form values:', values);
|
||||
},
|
||||
},
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,4 +23,5 @@ class StripePaymentFormExample extends Component {
|
|||
export const Empty = {
|
||||
component: StripePaymentFormExample,
|
||||
props: { intl: fakeIntl },
|
||||
group: 'forms',
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue