Skip to content

Commit 657e3f3

Browse files
spencerbywlevithomason
authored andcommitted
docs: update grammar/wording for tab pane shorthand (#3801)
1 parent 55386d6 commit 657e3f3

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/src/examples/modules/Tab/Usage/TabExamplePaneShorthand.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import { List, Label, Tab } from 'semantic-ui-react'
44
const panes = [
55
{
66
menuItem: 'Tab 1',
7-
pane: { key: 'tab1', content: 'This is massive tab', size: 'massive' },
7+
pane: { key: 'tab1', content: 'This is a massive tab', size: 'massive' },
88
},
99
{
1010
menuItem: 'Tab 2',
1111
pane: {
1212
key: 'tab2',
13-
content: 'This tab has a center aligned text',
13+
content: 'This tab has center-aligned text',
1414
textAlign: 'center',
1515
},
1616
},
@@ -20,7 +20,7 @@ const panes = [
2020
key: 'tab3',
2121
content: (
2222
<div>
23-
This tab contains an <Label>JSX</Label> element
23+
This tab contains a <Label>JSX</Label> element
2424
</div>
2525
),
2626
},
@@ -29,7 +29,7 @@ const panes = [
2929
menuItem: 'Tab 4',
3030
pane: (
3131
<Tab.Pane key='tab4'>
32-
<p>This tab has a complex content</p>
32+
<p>This tab has complex content</p>
3333

3434
<List>
3535
<List.Item>Apples</List.Item>

docs/src/examples/modules/Tab/Usage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const TabUsageExamples = () => (
3030
title='Pane Shorthands'
3131
description={
3232
<span>
33-
You can use an item shorthands when you're using{' '}
33+
You can use item shorthands when you're using{' '}
3434
<code>renderActiveOnly={'{false}'}</code>.
3535
</span>
3636
}

0 commit comments

Comments
 (0)