Skip to content

Commit 6edee4c

Browse files
committed
[docs] Fix inline euiFieldText className usage
- replace with actual component
1 parent 5a186a5 commit 6edee4c

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

packages/eui/src-docs/src/views/super_date_picker/super_date_picker.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
EuiSpacer,
66
EuiFormControlLayoutDelimited,
77
EuiFormLabel,
8+
EuiFieldText,
89
EuiPanel,
910
EuiText,
1011
OnRefreshProps,
@@ -58,21 +59,19 @@ export default () => {
5859
<EuiFormControlLayoutDelimited
5960
prepend={<EuiFormLabel>Dates</EuiFormLabel>}
6061
startControl={
61-
<input
62+
<EuiFieldText
63+
controlOnly
6264
onChange={onStartInputChange}
63-
type="text"
6465
value={start}
6566
placeholder="start"
66-
className="euiFieldText"
6767
/>
6868
}
6969
endControl={
70-
<input
70+
<EuiFieldText
71+
controlOnly
7172
onChange={onEndInputChange}
72-
type="text"
7373
placeholder="end"
7474
value={end}
75-
className="euiFieldText"
7675
/>
7776
}
7877
/>

0 commit comments

Comments
 (0)