function decoratedLayoutStory(layoutStoryName, layoutStoryProps, layoutStoryContent = content) {
	layoutStory(layoutStoryName, layoutStoryProps, layoutStoryContent);
	[
		{ key: 'mdm', value: 'Master Data Management' },
		{ key: 'tdc', value: 'Data Inventory' },
		{ key: 'tdp', value: 'Data Preparation' },
		{ key: 'tds', value: 'Data Stewardship' },
		{ key: 'tmc', value: 'Management Console' },
		{ key: 'tfd', value: 'Pipeline Designer' },
	].forEach(({ key, value }) => {
		const decoratedPropsWithTheme = {
			...layoutStoryProps,
			// hasTheme: true, should be enabled if we have one and only one Layout theme scss import
		};
		stories.add(`[${value}] ${layoutStoryName} `, () => (
			<div className={appStyle[key]}>
				<div className={Layout.TALEND_T7_THEME_CLASSNAME}>
					<Layout {...decoratedPropsWithTheme}>{layoutStoryContent}</Layout>
				</div>
			</div>
		));
	});
}
/**
 * Generate story and its variations for <Layout/> component
 *
 * @param layoutStoryName Story name to display in storybook
 * @param layoutStoryProps Props to pass to <Layout/> component
 * @param layoutStoryContent Optional custom children
 */
Generate story and its variations for  component
@param layoutStoryName Story name to display in storybook
@param layoutStoryProps Props to pass to  component
@param layoutStoryContent Optional custom children
Generate story and its variations for component @param layoutStoryName Story name to display in storybook @param layoutStoryProps Props to pass to component @param layoutStoryContent Optional custom children
function decoratedLayoutStory(layoutStoryName, layoutStoryProps, layoutStoryContent = content) {
	layoutStory(layoutStoryName, layoutStoryProps, layoutStoryContent);
	[
		{ key: 'mdm', value: 'Master Data Management' },
		{ key: 'tdc', value: 'Data Inventory' },
		{ key: 'tdp', value: 'Data Preparation' },
		{ key: 'tds', value: 'Data Stewardship' },
		{ key: 'tmc', value: 'Management Console' },
		{ key: 'tfd', value: 'Pipeline Designer' },
	].forEach(({ key, value }) => {
		const decoratedPropsWithTheme = {
			...layoutStoryProps,
		};
		stories.add(`[${value}] ${layoutStoryName} `, () => (
			<div className={appStyle[key]}>
				<div className={Layout.TALEND_T7_THEME_CLASSNAME}>
					<Layout {...decoratedPropsWithTheme}>{layoutStoryContent}</Layout>
				</div>
			</div>
		));
	});
}
function decoratedLayoutStory ( layoutStoryName , layoutStoryProps , layoutStoryContent = content ) { layoutStory ( layoutStoryName , layoutStoryProps , layoutStoryContent ) ; [ { key : 'mdm' , value : 'Master Data Management' } , { key : 'tdc' , value : 'Data Inventory' } , { key : 'tdp' , value : 'Data Preparation' } , { key : 'tds' , value : 'Data Stewardship' } , { key : 'tmc' , value : 'Management Console' } , { key : 'tfd' , value : 'Pipeline Designer' } , ] . forEach ( ( { key , value } ) => { const decoratedPropsWithTheme = { ... layoutStoryProps , } ; stories . add ( ` ${ value } ${ layoutStoryName } ` , ( ) => ( < div className = { appStyle [ key ] } > < div className = { Layout . TALEND_T7_THEME_CLASSNAME } > < Layout { ... decoratedPropsWithTheme } > { layoutStoryContent } < / Layout > < / div > < / div > ) ) ; } ) ; }
Generate story and its variations for <Layout/> component
 @param layoutStoryName Story name to display in storybook
 @param layoutStoryProps Props to pass to <Layout/> component
 @param layoutStoryContent Optional custom children
Generate story and its variations for <Layout / > component @param layoutStoryName Story name to display in storybook @param layoutStoryProps Props to pass to <Layout / > component @param layoutStoryContent Optional custom children
// hasTheme: true, should be enabled if we have one and only one Layout theme scss import