@onextech/react-semantic-booster
Version:
Extended components for react-semantic-ui
23 lines (20 loc) • 467 B
JavaScript
import React from 'react';
import { storiesOf } from '@storybook/react';
import Hero from '.';
export const heroProps = { // eslint-disable-line import/prefer-default-export
header: 'Header',
subheader: 'Subheader',
image: '/',
btn: {
content: 'Btn.Content',
href: '#',
isHashLink: true,
},
height: 700,
textAlign: 'center',
hasBreadcrumbs: false,
};
storiesOf('Hero', module)
.add('Default', () => (
<Hero {...heroProps} />
));