Skip to content

Commit

Permalink
Prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
g-stamatis committed Jan 27, 2022
1 parent b229c27 commit 678c9be
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
type: { summary: 'integer' },
defaultValue: { summary: 3 },
},
}
},
},
};

Expand Down
49 changes: 49 additions & 0 deletions src/customizations/components/theme/Header/Heading.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import React from 'react';
import { Header, Container } from 'semantic-ui-react';

export default {
title: 'Components/Heading',
component: Header,
};

const Template = (args) => (
<Container>
<h1>Heading 1</h1>
<h1>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec mattis arcu
egestas ultrices mollis.
</h1>
<hr></hr>
<h2>Heading 2</h2>
<h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec mattis arcu
egestas ultrices mollis.
</h2>
<hr></hr>
<h3>Heading 3</h3>
<h3>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec mattis arcu
egestas ultrices mollis.
</h3>
<hr></hr>
<h4>Heading 4</h4>
<h4>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec mattis arcu
egestas ultrices mollis.
</h4>
<hr></hr>
<h5>Heading 5</h5>
<h5>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec mattis arcu
egestas ultrices mollis.
</h5>
<hr></hr>
<h6>Heading 6</h6>
<h6>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec mattis arcu
egestas ultrices mollis.
</h6>
</Container>
);

export const Default = Template.bind({});
4 changes: 2 additions & 2 deletions src/customizations/components/theme/Item/Item.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ DefaultItem.argTypes = {
},
};

DefaultItem.storyName = "Featured Item"
DefaultItem.storyName = 'Featured Item';

export const DefaultGroup = Template.bind({});
DefaultGroup.args = {
Expand Down Expand Up @@ -159,4 +159,4 @@ DefaultGroup.argTypes = {
},
};

DefaultGroup.storyName = "Item Group"
DefaultGroup.storyName = 'Item Group';
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ function DescriptionList(
{items.map((item, index) => (
<List.Item key={index}>
<List.Content>
<List.Header>
{item.header}
</List.Header>
<List.Header>{item.header}</List.Header>
<List.Description floated={floated}>
{item.content}
</List.Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ export default {
},
};

function TableOfContents(
items,
selection,
animated,
divided,
horizontal,
) {
function TableOfContents(items, selection, animated, divided, horizontal) {
return (
<List
ordered
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
},
};

function UnorderedList( animated, divided, horizontal, items) {
function UnorderedList(animated, divided, horizontal, items) {
return (
<List
bulleted
Expand Down
2 changes: 1 addition & 1 deletion src/customizations/components/theme/Tab/Tab.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Default.args = {
{
menuItem: 'Tab 4',
pane: 'Tab 4 Content',
}
},
],
};

Expand Down

0 comments on commit 678c9be

Please sign in to comment.