Skip to content

Commit

Permalink
Add doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Jun 18, 2019
1 parent ab92412 commit 7c39adc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src-docs/src/views/form_controls/form_control_layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,19 @@ export default () => (

<EuiSpacer size="m" />

<EuiFormControlLayout
readOnly
prepend={<EuiFormLabel htmlFor="textField19">Read only</EuiFormLabel>}>
<input
type="text"
className="euiFieldText euiFieldText--inGroup"
id="textField19"
readOnly
/>
</EuiFormControlLayout>

<EuiSpacer size="m" />

<EuiFormControlLayout
append={
<EuiText size="xs">
Expand Down

0 comments on commit 7c39adc

Please sign in to comment.