TrixtaAuthComponent

React component used to only render a child component or function, if you have access to the passed roleName.

import {
  TrixtaAuthComponent,
} from '@trixtateam/trixta-js-core';

<TrixtaAuthComponent 
 roleName=""
>
{children}
</TrixtaAuthComponent>

Last updated