Sha256: 4f193bccc554cf9c90017971700492c8018dc1107fe28d5a8d04a4aa1af59a66

Contents?: true

Size: 485 Bytes

Versions: 1671

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,671 entries across 1,671 versions & 2 rubygems

Version Path
playbook_ui_docs-14.8.0.pre.rc.4 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.8.0.pre.rc.4 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.8.0.pre.rc.3 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.8.0.pre.rc.3 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4492 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4492 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.8.0.pre.rc.2 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.8.0.pre.rc.2 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.7.0.pre.alpha.spacingquickchange4482 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.7.0.pre.alpha.spacingquickchange4482 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4478 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4478 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.7.0.pre.alpha.PBNTR667railstypeaheadformintegration4454 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.7.0.pre.alpha.PBNTR667railstypeaheadformintegration4454 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.8.0.pre.rc.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.8.0.pre.rc.1 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.7.0.pre.alpha.dependabotnpmandyarnintltelinput24704448 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.7.0.pre.alpha.dependabotnpmandyarnintltelinput24704448 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui_docs-14.8.0.pre.rc.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
playbook_ui-14.8.0.pre.rc.0 app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx