diff --git a/appkit/react-native/core/hooks.mdx b/appkit/react-native/core/hooks.mdx index 709edc934..3f86bcafe 100644 --- a/appkit/react-native/core/hooks.mdx +++ b/appkit/react-native/core/hooks.mdx @@ -8,53 +8,68 @@ import Ethers5Hooks from "/snippets/appkit/react-native/ethers5/hooks.mdx"; ## useAppKit -Control the modal with the `useAppKit` hook +The `useAppKit` hook provides functions to control the modal's visibility. You can use it to programmatically open or close the modal. ```ts import { useAppKit } from '@reown/appkit-wagmi-react-native' +import { Button } from 'react-native'; export default function Component() { const { open, close } = useAppKit() -open() - -//... + return ( + <> +