2023-03-14 17:29:14 +01:00
|
|
|
import {ComponentMeta} from '@storybook/react';
|
2023-03-12 00:41:14 +01:00
|
|
|
import KcApp from '../KcApp';
|
2023-03-14 17:29:14 +01:00
|
|
|
import {template} from '../../../.storybook/util'
|
2023-03-12 00:41:14 +01:00
|
|
|
|
|
|
|
|
export default {
|
2023-03-14 17:29:14 +01:00
|
|
|
kind: 'Page',
|
|
|
|
|
title: 'Theme/Pages/My Extra Page 2',
|
|
|
|
|
component: KcApp,
|
|
|
|
|
parameters: {
|
|
|
|
|
layout: 'fullscreen',
|
|
|
|
|
},
|
2023-03-12 00:41:14 +01:00
|
|
|
} as ComponentMeta<typeof KcApp>;
|
|
|
|
|
|
2023-03-14 17:29:14 +01:00
|
|
|
const bind = template('my-extra-page-2.ftl')
|
2023-03-12 00:41:14 +01:00
|
|
|
|
2023-03-14 17:29:14 +01:00
|
|
|
export const Default = bind({})
|
2023-03-12 00:41:14 +01:00
|
|
|
|
2023-03-14 17:29:14 +01:00
|
|
|
export const WithCustomValue = bind({someCustomValue: 'Foo Bar Baz'})
|