-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexander Fedyashov
committed
Jun 2, 2017
1 parent
1a1b9e0
commit a3f6639
Showing
2 changed files
with
57 additions
and
41 deletions.
There are no files selected for viewing
22 changes: 14 additions & 8 deletions
22
docs/app/Examples/elements/Container/Types/ContainerExampleContainer.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,18 @@ | ||
/* eslint-disable max-len */ | ||
|
||
import React from 'react' | ||
import { Container } from 'semantic-ui-react' | ||
import { Dropdown } from 'semantic-ui-react' | ||
|
||
const countryOptions = [ | ||
{ key: 'af', value: 'af', flag: 'af', text: 'Afghanistan' }, | ||
{ key: 'ae', value: 'ae', flag: 'ae', text: 'United Arab Emirates' }, | ||
{ key: 'us', value: 'us', flag: 'us', text: 'United States' }, | ||
] | ||
|
||
const ContainerExampleContainer = () => ( | ||
<Container> | ||
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.</p> | ||
</Container> | ||
const DropdownExampleSearchSelection = () => ( | ||
<div> | ||
<Dropdown placeholder='Min 1' fluid search selection options={countryOptions} /> | ||
<br /> | ||
<Dropdown placeholder='Min 3' fluid search selection minCharacters={3} options={countryOptions} /> | ||
</div> | ||
) | ||
|
||
export default ContainerExampleContainer | ||
export default DropdownExampleSearchSelection |
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