Skip to content

Commit

Permalink
docs: update grammar/wording for tab pane shorthand (#3801)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerbyw authored and levithomason committed Dec 8, 2019
1 parent 55386d6 commit 657e3f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { List, Label, Tab } from 'semantic-ui-react'
const panes = [
{
menuItem: 'Tab 1',
pane: { key: 'tab1', content: 'This is massive tab', size: 'massive' },
pane: { key: 'tab1', content: 'This is a massive tab', size: 'massive' },
},
{
menuItem: 'Tab 2',
pane: {
key: 'tab2',
content: 'This tab has a center aligned text',
content: 'This tab has center-aligned text',
textAlign: 'center',
},
},
Expand All @@ -20,7 +20,7 @@ const panes = [
key: 'tab3',
content: (
<div>
This tab contains an <Label>JSX</Label> element
This tab contains a <Label>JSX</Label> element
</div>
),
},
Expand All @@ -29,7 +29,7 @@ const panes = [
menuItem: 'Tab 4',
pane: (
<Tab.Pane key='tab4'>
<p>This tab has a complex content</p>
<p>This tab has complex content</p>

<List>
<List.Item>Apples</List.Item>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples/modules/Tab/Usage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const TabUsageExamples = () => (
title='Pane Shorthands'
description={
<span>
You can use an item shorthands when you're using{' '}
You can use item shorthands when you're using{' '}
<code>renderActiveOnly={'{false}'}</code>.
</span>
}
Expand Down

0 comments on commit 657e3f3

Please sign in to comment.