Skip to content

Commit

Permalink
fix README typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Atrue committed Oct 6, 2023
1 parent c4a1a71 commit c0570a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Each function takes an options object, as follows:

``` js
import cytoscape from 'cytoscape';
import popper from 'cytoscape-popper';
import cytoscapePopper from 'cytoscape-popper';
import {computePosition} from '@floating-ui/dom';

function popperFactory(ref, content, opts) {
Expand Down Expand Up @@ -250,7 +250,7 @@ See popperFactory examples to save backward-compatibility with v2

## Typescript

This extension export empty `PopperInstance` and `PopperOptions` interfaces allows to extend them according to the final Popper implementation.
This extension exports empty `PopperInstance` and `PopperOptions` interfaces allows to extend them according to the final Popper implementation.

`@floating-ui` example:
```ts
Expand Down

0 comments on commit c0570a6

Please sign in to comment.