@propellerads/editable-field
v2.1.0
Published
EditableField component
Downloads
910
Keywords
Readme
EditableField
Installation
yarn add @propellerads/editable-field
ornpm 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"
/>