useTrixtaAccess
A react hook that will return true if the given roleName has access.
import { useTrixtaAccess } from '@trixtateam/trixta-js-core';
const hasAccess = useTrixtaAccess({ roleName });
Options
Returns
Last updated
Was this helpful?