Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 405 Bytes

File metadata and controls

26 lines (24 loc) · 405 Bytes

Range editor

An editing interface for ranges, with support for custom behaviours.

<RangeEditor
  manifestId="https://..."
  manifestJson={
    {
      /* ... */
    }
  }
  onAddRange={(range, index) => {
    /* ... */
  }}
  onChangeRange={(range, index) => {
    /* ... */
  }}
  onRemoveRange={(range, index) => {
    /* ... */
  }}
  onReorderRanges={newOrder => {
    /* ... */
  }}
/>