diff --git a/.gitignore b/.gitignore index 79d6236..6585b34 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,6 @@ node_modules/ npm-debug.log yarn-error.log +package-lock.json dist diff --git a/EXAMPLES.md b/EXAMPLES.md new file mode 100644 index 0000000..2048956 --- /dev/null +++ b/EXAMPLES.md @@ -0,0 +1,326 @@ +# Usage Examples + +## Basic Usage with New Features + +### Navigation Controls + +```jsx +import React, { useRef } from 'react'; +import { View, Button } from 'react-native'; +import { WebView } from 'react-native-webview'; + +function WebViewWithNavigation() { + const webviewRef = useRef(null); + + return ( + + +