Skip to content

Commit

Permalink
refactor(message): add container to story
Browse files Browse the repository at this point in the history
  • Loading branch information
tarantilis committed May 6, 2022
1 parent ee51e1d commit 1259ece
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ui/Message/Message.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Message } from 'semantic-ui-react';
import { Message, Container } from 'semantic-ui-react';

export default {
title: 'Components/Message',
Expand Down Expand Up @@ -43,7 +43,11 @@ export default {
},
};

const Template = (args) => <Message {...args}></Message>;
const Template = (args) => (
<Container>
<Message {...args}></Message>
</Container>
);

export const Default = Template.bind({});
Default.args = {
Expand Down

0 comments on commit 1259ece

Please sign in to comment.