@propellerads/editable-field
2.1.0 • Public • Published EditableField
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"
/>
Package Sidebar
Install
npm i @propellerads/editable-field
Weekly Downloads