mirror of
https://github.com/dzeiocom/components.git
synced 2025-04-24 11:52:13 +00:00
20 lines
390 B
TypeScript
20 lines
390 B
TypeScript
import { Meta } from '@storybook/react/types-6-0'
|
|
import React from 'react'
|
|
import Component from '.'
|
|
import Text from '../Text'
|
|
|
|
export default {
|
|
title: 'DZEIO/Container',
|
|
component: Component,
|
|
argTypes: {
|
|
title: { control: 'text'}
|
|
},
|
|
parameters: {
|
|
layout: 'fullscreen'
|
|
}
|
|
} as Meta
|
|
|
|
export const Container = (args: any) => (
|
|
<Component {...args}><Text>Test</Text></Component>
|
|
)
|