@axeptio/design-system
Version:
Design System for Axeptio
24 lines (20 loc) • 425 B
JSX
import React from 'react';
import Wave from './index';
export default {
title: 'Core/Wave',
component: Wave
};
const Template = args => (
<>
<Wave {...args} name="wave-top-fantasy" height={400} />
<Wave {...args} name="wave-bottom-fantasy" />
</>
);
export const Default = Template.bind({});
Default.args = {
name: '',
absoluteTop: false,
absoluteBottom: false,
height: 150,
autoHeight: false
};