-
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.
- Loading branch information
1 parent
d532e7a
commit 9d1619b
Showing
5 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
docs/app/Examples/elements/Input/Variations/InputIconElement.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Icon, Input } from 'stardust' | ||
|
||
const InputIconElement = () => ( | ||
<Input | ||
icon={<Icon name='search' inverted circular link />} | ||
placeholder='Search...' | ||
/> | ||
) | ||
|
||
export default InputIconElement |
8 changes: 8 additions & 0 deletions
8
docs/app/Examples/elements/Input/Variations/InputIconPosition.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react' | ||
import { Input } from 'stardust' | ||
|
||
const InputIconPosition = () => ( | ||
<Input icon='users' iconPosition='left' placeholder='Search users...' /> | ||
) | ||
|
||
export default InputIconPosition |
11 changes: 11 additions & 0 deletions
11
docs/app/Examples/elements/Input/Variations/InputIconProps.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { Input } from 'stardust' | ||
|
||
const InputIconProps = () => ( | ||
<Input | ||
icon={{ name: 'search', circular: true, link: true }} | ||
placeholder='Search...' | ||
/> | ||
) | ||
|
||
export default InputIconProps |
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