mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 02:11:07 +08:00
21 lines
357 B
JavaScript
21 lines
357 B
JavaScript
import { Header } from './Header';
|
|
|
|
export default {
|
|
title: 'Example/Header',
|
|
component: Header,
|
|
parameters: {
|
|
// More on Story layout: https://storybook.js.org/docs/react/configure/story-layout
|
|
layout: 'fullscreen',
|
|
},
|
|
};
|
|
|
|
export const LoggedIn = {
|
|
args: {
|
|
user: {
|
|
name: 'Jane Doe',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const LoggedOut = {};
|