Use React to provide a custom hook using a device orientation event.
npm install react-device-orientation-hook

```
npm i react-device-orientation-hook
`typescript
import useDeviceOrientation from 'react-device-orientation-hook;
function Component() {
const { transformStyle, resetPivotOrientation } = useDeviceOrientation();
return (
<>
Touch text and Revise orientation
Device Orientation Web API Spec
- W3C
- Google Developers
- MDNDevelopment
$3
`
npm run test
`$3
`
npm run build
`$3
To run a live-reload Storybook server on your local machine:
`
npm run storybook
``