1.0.3 • Published 7 months ago
@tmforum/navigation-component v1.0.3
This is a tmforum navigation component.
Getting Started
First, run the follwing command:
npm i @tmforum/navigation-component
Import
import Navigation from '@tmforum/navigation-component';
Props
import Navigation from '@tmforum/navigation-component';
Prop name | Description | Default value |
---|---|---|
auth | Auth should come from const auth = useAuth() and useAuth() should come from import { useAuth } from 'react-oidc-context' | {} |
userData | UserData should have keys named given_name and family_name | {} |
logoutLink | Should be like this: https://something.org/saml/slo | "" |
registerLink | Should be like this: https://myaccount/register' | "" |
myAccountLink | Should be like this: https://myaccount/my_profile | "" |