Sha256: 4f193bccc554cf9c90017971700492c8018dc1107fe28d5a8d04a4aa1af59a66

Contents?: true

Size: 485 Bytes

Versions: 1919

Compression:

Stored size: 485 Bytes

Contents

import React, { useState } from 'react'

import TextInput from '../_text_input'

const TextInputInline = (props) => {
  const [value, setValue] = useState('Inline Input')
  const handleValueChange = ({ target }) => {
    setValue(target.value)
  }
  return (
    <div>
      <TextInput
          inline
          label="Hover Over Text Below"
          onChange={handleValueChange}
          value={value}
          {...props}
      />
    </div>
  )
}

export default TextInputInline

Version data entries

1,919 entries across 1,919 versions & 2 rubygems

Version Path
playbook_ui-11.4.0.pre.alpha.rubytheme1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.4.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.3.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.7 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.6 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.5 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.4 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.4.pre.alpha1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.3 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.2 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.2.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.1.2 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.1.2.pre.alpha1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.1.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.1.1.pre.alpha1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.1.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-11.0.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx