2023-03-16 11:32:11 +01:00
|
|
|
import { ComponentMeta } from '@storybook/react';
|
2023-03-12 00:41:14 +01:00
|
|
|
import KcApp from '../KcApp';
|
2023-03-16 11:32:11 +01:00
|
|
|
import { template } from '../../../.storybook/util'
|
|
|
|
|
|
|
|
|
|
const bind = template('my-extra-page-2.ftl')
|
2023-03-12 00:41:14 +01:00
|
|
|
|
|
|
|
|
export default {
|
2023-03-14 17:29:14 +01:00
|
|
|
kind: 'Page',
|
2023-03-14 18:10:09 +01:00
|
|
|
title: 'Theme/Pages/Custom/My Extra Page 2',
|
2023-03-14 17:29:14 +01:00
|
|
|
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
|
|
|
export const Default = bind({})
|
2023-03-12 00:41:14 +01:00
|
|
|
|
2023-03-16 11:32:11 +01:00
|
|
|
export const WithCustomValue = bind({ someCustomValue: 'Foo Bar Baz' })
|