feat: make fluid an option in container component (#51172)

This commit is contained in:
Muhammed Mustafa
2023-08-07 11:58:28 +03:00
committed by GitHub
parent e9df549bc9
commit 86a6a7afea

View File

@@ -4,7 +4,14 @@ import { Container, ContainerProps } from '.';
const story = {
title: 'Example/Container',
component: Container
component: Container,
argTypes: {
fluid: {
control: {
type: 'boolean'
}
}
}
};
const Template: Story<ContainerProps> = args => {
@@ -29,9 +36,4 @@ const Template: Story<ContainerProps> = args => {
export const Default = Template.bind({});
Default.args = {};
export const Fluid = Template.bind({});
Fluid.args = {
fluid: true
};
export default story;