@propellerads/editable-field

2.1.0 • Public • Published

EditableField

size

NPM | Github

Installation

  • yarn add @propellerads/editable-field or npm install @propellerads/editable-field -S

How to use

  • import EditableField from '@propellerads/editable-field';
  • And render
<EditableField
    isEditable
    isLoading={false}
    value="value"
    onFocus={() => console.log('onFocus')}
    onSave={() => console.log('onSave')}
    onCancel={() => console.log('onCancel')}
    onChange={(value) => console.log('onChange', value)}
    elementId="stories-default-view"
/>

Readme

Keywords

none

Package Sidebar

Install

npm i @propellerads/editable-field

Weekly Downloads

214

Version

2.1.0

License

MIT

Unpacked Size

25.2 kB

Total Files

12

Last publish

Collaborators

  • ilyapasyuk
  • noc_propellerads
  • r.khizhenkov
  • aliance
  • d.borisevichus
  • s.lemnev
  • p.zasypkin