1.0.14 • Published 5 years ago

react-inline-edit-input v1.0.14

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

React Inline Edit

Usage

  <InlineEdit
    value={fish.name}
    tag="p"
    type="text"
    saveLabel="Gravar"
    cancelLabel="Cancelar"
    onSave={value => props.updateFish(fish.id, { name: value })}
  />

Properties

NameTypeDefaultDescription
updateOnNewPropsbooleanfalseProps will only be updated if this is set to true
formatfunctionnullFormats the value according to the function supplied
valuestring''initial input value
tagstring'span'
typestring'text'
onSavestringnull
updateOnNewPropsstringfalse
saveColorstring'blue'
saveLabelstring'Save'
cancelColorstring'red'
cancelLabelstring'Cancel'
minDatestring''
maxDatestring''
1.0.14

5 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago