Skip to content

Commit b6029d1

Browse files
authored
Fixed import on example
1 parent 2b31908 commit b6029d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Initialize a reference with `useRef` and pass it to `Sprites` as the `ref` prope
3333
```js
3434
import React, { useRef } from 'react';
3535
import { View } from 'react-native';
36-
import Sprites, { type SpritesMethods } from 'react-native-sprites';
36+
import { Sprites, type SpritesMethods } from 'react-native-sprites';
3737

3838
const MySpriteComponent = () => {
3939
const spriteRef = useRef<SpritesMethods>(null);
@@ -225,4 +225,4 @@ MIT
225225
226226
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
227227
228-
Inspired by the abandoned project [rn-sprite-sheet](https://github.com/mileung/rn-sprite-sheet)
228+
Inspired by the abandoned project [rn-sprite-sheet](https://github.com/mileung/rn-sprite-sheet)

0 commit comments

Comments
 (0)