Skip to content

Commit c588185

Browse files
committed
docs(Input): fix the label position
1 parent 93bb166 commit c588185

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/app/Examples/elements/Input/Variations/InputExampleActionDropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const options = [
99

1010
const InputExampleActionDropdown = () => (
1111
<Input
12-
action={<Dropdown selection basic floating options={options} defaultValue='page' />}
12+
action={<Dropdown basic floating options={options} defaultValue='page' />}
1313
icon='search'
1414
iconPosition='left'
1515
placeholder='Search...'

docs/app/Examples/elements/Input/Variations/InputExampleActionLabeledButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Input } from 'semantic-ui-react'
33

44
const InputExampleActionLabeledButton = () => (
55
<Input
6-
action={{ color: 'teal', label: 'right', icon: 'copy', content: 'Copy' }}
6+
action={{ color: 'teal', labelPosition: 'right', icon: 'copy', content: 'Copy' }}
77
defaultValue='http://ww.short.url/c0opq'
88
/>
99
)

docs/app/Examples/elements/Input/Variations/InputExampleLeftActionLabeledButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Input } from 'semantic-ui-react'
33

44
const InputExampleLeftActionLabeledButton = () => (
55
<Input
6-
action={{ color: 'teal', label: true, icon: 'cart', content: 'Checkout' }}
6+
action={{ color: 'teal', labelPosition: 'left', icon: 'cart', content: 'Checkout' }}
77
actionPosition='left'
88
placeholder='Search...'
99
defaultValue='52.03'

0 commit comments

Comments
 (0)