-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(Header): update docs to the latest standards (#725)
- Loading branch information
1 parent
271b8e0
commit 4a98369
Showing
24 changed files
with
80 additions
and
80 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...s/Header/Content/HeaderIconPropExample.js → ...s/Header/Content/HeaderExampleIconProp.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import React from 'react' | ||
import { Header } from 'semantic-ui-react' | ||
|
||
const HeaderIconExample = () => ( | ||
const HeaderExampleIconProp = () => ( | ||
<Header as='h2' icon='plug' content='Uptime Guarantee' /> | ||
) | ||
|
||
export default HeaderIconExample | ||
export default HeaderExampleIconProp |
4 changes: 2 additions & 2 deletions
4
...ents/Header/Content/HeaderImageExample.js → ...ents/Header/Content/HeaderExampleImage.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import React from 'react' | ||
import { Header, Image } from 'semantic-ui-react' | ||
|
||
const HeaderImageExample = () => ( | ||
const HeaderExampleImage = () => ( | ||
<Header as='h2'> | ||
<Image shape='circular' src='http://semantic-ui.com/images/avatar2/large/patrick.png' /> | ||
{' '}Patrick | ||
</Header> | ||
) | ||
|
||
export default HeaderImageExample | ||
export default HeaderExampleImage |
4 changes: 2 additions & 2 deletions
4
.../Header/Content/HeaderImagePropExample.js → .../Header/Content/HeaderExampleImageProp.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import React from 'react' | ||
import { Header } from 'semantic-ui-react' | ||
|
||
const HeaderImageExample = () => ( | ||
const HeaderExampleImageProp = () => ( | ||
<Header | ||
as='h2' | ||
image='http://semantic-ui.com/images/icons/school.png' | ||
content='Learn More' | ||
/> | ||
) | ||
|
||
export default HeaderImageExample | ||
export default HeaderExampleImageProp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...der/Content/HeaderSubheaderPropExample.js → ...der/Content/HeaderExampleSubheaderProp.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import React from 'react' | ||
import { Header } from 'semantic-ui-react' | ||
|
||
const HeaderSubheaderPropExample = () => ( | ||
const HeaderExampleSubheaderProp = () => ( | ||
<Header as='h2' content='Account Settings' subheader='Manage your account settings and set email preferences' /> | ||
) | ||
|
||
export default HeaderSubheaderPropExample | ||
export default HeaderExampleSubheaderProp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ts/Header/States/HeaderDisabledExample.js → ...ts/Header/States/HeaderExampleDisabled.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import React from 'react' | ||
import { Header } from 'semantic-ui-react' | ||
|
||
const HeaderDisabledExample = () => ( | ||
const HeaderExampleDisabled = () => ( | ||
<Header as='h2' disabled> | ||
Disabled Header | ||
</Header> | ||
) | ||
|
||
export default HeaderDisabledExample | ||
export default HeaderExampleDisabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/Header/Types/HeaderSubHeadersExample.js → ...s/Header/Types/HeaderExampleSubheaders.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import React from 'react' | ||
import { Header } from 'semantic-ui-react' | ||
|
||
const HeaderSubHeadersExample = () => ( | ||
const HeaderExampleSubheaders = () => ( | ||
<div> | ||
<Header sub>Price</Header> | ||
<span>$10.99</span> | ||
</div> | ||
) | ||
|
||
export default HeaderSubHeadersExample | ||
export default HeaderExampleSubheaders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/Header/Variations/HeaderBlockExample.js → ...s/Header/Variations/HeaderExampleBlock.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import React from 'react' | ||
import { Header } from 'semantic-ui-react' | ||
|
||
const HeaderBlockExample = () => ( | ||
const HeaderExampleBlock = () => ( | ||
<Header as='h3' block> | ||
Block Header | ||
</Header> | ||
) | ||
|
||
export default HeaderBlockExample | ||
export default HeaderExampleBlock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...eader/Variations/HeaderDividingExample.js → ...eader/Variations/HeaderExampleDividing.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import React from 'react' | ||
import { Header } from 'semantic-ui-react' | ||
|
||
const HeaderDividingExample = () => ( | ||
const HeaderExampleDividing = () => ( | ||
<Header as='h3' dividing> | ||
Dividing Header | ||
</Header> | ||
) | ||
|
||
export default HeaderDividingExample | ||
export default HeaderExampleDividing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.