Constructor
new Login(props)
Initializes state and binds methods
Parameters:
| Name | Type | Description |
|---|---|---|
props |
Array.<any> | Should contain callbacks to navigate to the dashbord and menu pages |
- Source:
Extends
- React.Component
Methods
render()
Renders out a dynamic background, and either an admin or user login page
- Source:
settingsClick(event)
A toggler for the settings button.
Will toggle between admin and customer login pages
Parameters:
| Name | Type | Description |
|---|---|---|
event |
object |
- Source: