useHasPerms
Hook returning a permission-check callback bound to the current `authStore.permissions`.
Hook returning a permission-check callback bound to the current `authStore.permissions`.
import { useHasPerms } from "@tetherto/mdk-react-adapter";Signature
() => ((req: PermissionRequest) => boolean)| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |