import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { StoryContainer } from './helpers';
import { Page } from '../src';
export default storiesOf('Page', module)
.addDecorator((getStory) => (
{ getStory() }
))
.addWithInfo('with all props', () => {
const primaryAction = {
content: 'Publish',
onClick: action('Publish Clicked')
};
const secondaryActions = [
{
content: 'Save',
onClick: action('Save Clicked')
},
{
content: 'View Draft',
onClick: action('Draft Clicked')
},
{
content: 'Preview & Send',
onClick: action('Preview Clicked')
}
];
const breadcrumbAction = {
content: 'Templates',
onClick: action('Templates Clicked')
}
return (
)
});