Restricting access to a Blazor Component

Same question here. Basic authentication and authorisation works, but am not getting anywhere with role based authorisation.
Some help here would be really appreciated.
Thanks.