-
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 6, 2017
1 parent
347e437
commit ec28a3a
Showing
3 changed files
with
104 additions
and
31 deletions.
There are no files selected for viewing
22 changes: 8 additions & 14 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,18 +1,12 @@ | ||
import React from 'react' | ||
import { Dropdown } from 'semantic-ui-react' | ||
/* eslint-disable max-len */ | ||
|
||
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' }, | ||
] | ||
import React from 'react' | ||
import { Container } from 'semantic-ui-react' | ||
|
||
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> | ||
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> | ||
) | ||
|
||
export default DropdownExampleSearchSelection | ||
export default ContainerExampleContainer |
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