diff --git a/README.md b/README.md index 7580d44..0289c0a 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,52 @@ npm install dotlottie-react-native ## Usage -```js -import { DotlottieReactNativeView } from 'dotlottie-react-native'; +```ts +import { Button, StyleSheet, View } from 'react-native'; +import { DotLottie, Mode, type Dotlottie } from 'dotlottie-react-native'; +import { useRef } from 'react'; -// ... +export default function App() { + const ref = useRef(null); -; + return ( + + +