() => {return (<ErrorerrorCode="thing"homepageUrl={'/'}recognitionPermission={true}recognizeUrl={'/docs/Header'}routerBack={console.log}/>);};
Prop | Type | Default | Description |
---|---|---|---|
errorCode | string | Error code to display, needs to be generated | |
homepageUrl | string | / | URL for homepage |
recognitionPermission | boolean | false | Boolean flag of whether or not the client does or does not have permission to recognize, if true renders a "Recognize someone" button/link |
recognizeUrl | string | URL for recognition flow | |
routerBack | func | Function given to return back to previous page, renders "Go back" button if defined |