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-10.17.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.16.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.15.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.15.1.pre.alpha.rubocop.deps app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.15.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.14.1.pre.alpha2 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.14.1.pre.alpha1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.14.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.13.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.13.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.13.0.pre.node.update app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.12.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.11.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.10.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.9.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.8.1.pre.alpha.flexdeps app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.9.0.pre.alpha1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.8.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.7.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-10.7.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx