-
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.
Merge branch 'master' of https://github.com/Semantic-Org/Semantic-UI-…
…React into styte/search
- Loading branch information
Showing
17 changed files
with
249 additions
and
282 deletions.
There are no files selected for viewing
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
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
22 changes: 10 additions & 12 deletions
22
docs/app/Examples/collections/Menu/Types/MenuExampleProps.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,16 +1,14 @@ | ||
import React, { Component } from 'react' | ||
import React from 'react' | ||
import { Menu } from 'semantic-ui-react' | ||
|
||
export default class MenuExampleProps extends Component { | ||
state = {} | ||
const items = [ | ||
{ key: 'editorials', active: true, name: 'Editorials' }, | ||
{ key: 'review', name: 'Reviews' }, | ||
{ key: 'events', name: 'Upcoming Events' }, | ||
] | ||
|
||
render() { | ||
const items = [ | ||
{ active: true, name: 'Editorials' }, | ||
{ name: 'Reviews' }, | ||
{ name: 'Upcoming Events' }, | ||
] | ||
const MenuExampleProps = () => ( | ||
<Menu items={items} /> | ||
) | ||
|
||
return <Menu items={items} /> | ||
} | ||
} | ||
export default MenuExampleProps |
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.