Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinNagpal committed Nov 10, 2021
1 parent 1aa99fc commit 84da98b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,11 @@ Prop | Description | Default
`renderOverlay` | Function that renders `Overlay` | See [custom components](#using-custom-components)
`selectors`| Array of selectors that should be available |
`allowedShapes`| Array of allowedShapes. |

`onAnnotationsUpdate` | callback handler whenever annotations are updated |
`onAnnotationClick` | `onClick` handler for annotation |
`onSelectedAnnotationUpdate` | `onSelectedAnnotationUpdate` handler for annotation when it's selected. This callback takes two arguments i.e. annotation and the selected indicator |
`style` | styles that need to the applied to the parent container|

`toolBarOptions` | Selector type. See [Toolbar options](#tool-bar-options) |
`toolBarOptions` | Options for toolbar.| See [Toolbar options](#tool-bar-options) |

#### Annotation object

Expand Down

0 comments on commit 84da98b

Please sign in to comment.