Leave Yamada UI a star

Star
Yamada UIYamada UIv1.5.0

useOS

useOS is a custom hook that returns the user's OS.

Source@yamada-ui/use-os

Import

import { useOS } from "@yamada-ui/react"
Copied!

Usage

Editable example

const os = useOS()

return <Text>Your os is "{os}"</Text>
Copied!

Edit this page on GitHub

PrevioususeNoticeNextuseOutsideClick