@navinc/base-react-components
Version:
Nav's Pattern Library
28 lines (24 loc) • 612 B
JavaScript
import React from 'react'
import styled from 'styled-components'
import WavePageContainer from './wave-page-container'
export default {
title: 'Layout/WavePageContainer',
component: WavePageContainer,
argTypes: {
variation: {
control: 'select',
options: ['bottom', 'top', 'topDynamic', 'topLight', 'topLightDynamic', 'bottomTan', 'topTan', 'topTanDynamic'],
},
height: {
control: { type: 'number' },
},
},
}
const StyledFill = styled.div`
height: 100vh;
`
export const Basic = (args) => (
<WavePageContainer {...args}>
<StyledFill />
</WavePageContainer>
)