/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */
import * as React from 'react';
import Screener from 'screener-storybook/src/screener';
import { storiesOf } from '@storybook/react';
import { FabricDecorator } from '../utilities';
import { Panel, PanelType, SearchBox } from 'office-ui-fabric-react';
const defaultProps = {
isOpen: true,
children: 'Content goes here',
};
storiesOf('Panel', module)
.addDecorator(FabricDecorator)
.addDecorator(story =>
// prettier-ignore
{story()}
,
)
.addStory(
'Small left w/ close button',
() => (
),
{ rtl: true },
)
.addStory(
'Small fixed right w/ close button',
() => (
),
{ rtl: true },
)
.addStory('Small fluid right', () => (
))
.addStory(
'Medium right',
() => ,
{ rtl: true },
)
.addStory('Large right', () => (
))
.addStory('Large fixed right', () => (
))
.addStory('Extra large right', () => (
))
.addStory('Custom', () => (
))
.addStory('Custom anchored left', () => (
))
.addStory('With no navigation', () => (
))
.addStory('With no header, close button', () => (
));
storiesOf('Panel', module)
.addDecorator(FabricDecorator)
.addDecorator(story => (
{story()}
))
.addStory(
'SearchBox and Right Panel',
() => (
),
{ rtl: true },
);