Example
Parameters
Readonly<PermissionGuardProps>The props for the PermissionGuard component.
Permission | string | string[] | Permission[]The permission(s) required to access the children.
React.ReactNodeThe children to render if the user has the required permissions.