We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633dce4 commit 7fa1781Copy full SHA for 7fa1781
‎src/hooks/usePermission/usePermission.ts
@@ -42,6 +42,8 @@ export interface UsePermissionReturn {
42
* @description - Hook that gives you the state of permission
43
* @category Browser
44
*
45
+ * @param {UsePermissionName} permissionDescriptorName - The permission name
46
+ * @param {boolean} [options.enabled=true] - Whether the permission is enabled
47
* @returns {UsePermissionReturn} An object containing the state and the supported status
48
49
* @example
0 commit comments