trivut-templates
v1.0.11
Published
Trivut's react library for front-end templates.
Downloads
17
Readme
trivut-templates
Trivut's react library for front-end templates.
Installation and Usage
Install the library with npm install trivut-templates
Import Register
import { Register } from "trivut-templates";
Import Sign in
import { Signin } from "trivut-templates";
Import Register and Sign in
import { Register, Signin } from "trivut-templates";
Add Register component
<Register appCode="SAMPLE_CODE" />
/* Register props and their default values
appCode,
showSecurityQandA = true,
maxWidth = "600px",
signinPath = "/signin"
*/
Add Sign in component
<Signin appCode="SAMPLE_CODE" />
/* Signin props and their default values
appCode,
maxWidth = "600px",
title = "Sign in to your account",
landingPagePath = "/profile",
forgotPassLink = "/reset-password",
forgotPassTitle = "Forgot your password?",
registerLink = "/register",
registerTitle = "No account? Register now"
*/