0

From this command:

const createRegionsEditor = (onUpdate, props) => (<RegionsEditor onUpdate={ onUpdate } {...props}/>);

is onUpdate of

    RegionsEditor onUpdate

refering to an event or to a props of RegionsEditor?

I found the code at: http://allenfang.github.io/react-bootstrap-table/example.html#celledit from line 93, under Custom Cell Edit

Jose Cabrera Zuniga
  • 2,348
  • 3
  • 31
  • 56

1 Answers1

0

It's type looks like a function.

It's a property regardless of it's type.

It's not a native event. So it's probably a function that gets called whenever something happens in <RegionsEditor />.

You'll need to look at the documentation for whatever package you are using or just look in the source code...

Martin Dawson
  • 7,455
  • 6
  • 49
  • 92