@solid-primitives/permission
v1.2.6
Published
Primitive that wraps permission queries
Downloads
5,549
Readme
@solid-primitives/permission
Creates a primitive to query user permissions.
Installation
npm install @solid-primitives/permission
# or
yarn add @solid-primitives/permission
How to use it
const state: "unknown" | PermissionState = createPermission(descriptor: PermissionDescription | PermissionName);
Demo
TODO
Changelog
See CHANGELOG.md