mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 21:41:46 +08:00
18 lines
314 B
JavaScript
18 lines
314 B
JavaScript
import { createElement } from 'rax';
|
|
|
|
import { Header } from './Header';
|
|
|
|
export default {
|
|
title: 'Example/Header',
|
|
};
|
|
|
|
const Template = (args) => <Header {...args} />;
|
|
|
|
export const LoggedIn = Template.bind({});
|
|
LoggedIn.args = {
|
|
user: {},
|
|
};
|
|
|
|
export const LoggedOut = Template.bind({});
|
|
LoggedOut.args = {};
|