Skip to Content
Open SourceHydraLibraries@exodus/react-native-hooks

@exodus/react-native-hooks

React hooks which uses specific react-native API

Usage

useClipboard

import useClipboard from '@exodus/react-native-hooks/useClipboard';

Use Clipboard from react-native api.

const { handleCopyPress, copied } = useClipboard({ onCopyPress, copyValue });

useWindowSize

import useWindowSize from '@exodus/react-native-hooks/useWindowSize';

Returns window dimensions using optional uiScale.

const { width, height } = useWindowSize(1);
Last updated on

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right