import { type Component } from "solid-js"; import { createOrientation } from "../src/index.js"; const App: Component = () => { const { angle, type } = createOrientation(); return (

Screen Orientation

Rotate your device or resize to a narrow viewport to see changes.

Angle: {angle()}°

Type: {type()}

); }; export default App;