Registration
The Registration component renders a form for learners to register for your site and gain access to the learner dashboard.
Installation
npm init helium-app@latest
Props
| Name | Required | Type | Description |
|---|---|---|---|
redirectUrl | No | String | The URL to redirect the new learner once they sign up (e.g. /learn/dashboard) |
currentUser | No | CurrentUser | The Current User for registration and redemption functionality |
Example Code
import { Registration } from '@thoughtindustries/user';
export function MyComponent() {
return <Registration redirectUrl='/learn/dashboard' />;
}