import { type Component } from "solid-js"; import { createOrientation } from "../src/index.js"; const App: Component = () => { const { angle, type } = createOrientation(); return (
Rotate your device or resize to a narrow viewport to see changes.
Angle: {angle()}°
Type: {type()}