We have added default configuration for login, register it will use for you to create a new configuration for the screen.
Usage:
Go to dev-packages/egov-wms/src/ui-config/screens/specs/ in the root of the project.
Create a folder for your set of screens. Eg: auth.
Create a file for the screen. Eg:login.js
Write your configuration.
...
example of using material UI components(https://material-ui.com/)
React way for rendering Material-UI component
Code Block |
---|
Import React from “react”; Import {Button} from ‘@material-ui/core’; <Button variant =“contained” color=“primary”>Primary</Button> |
EGov way for rendering the same component in the configuration
Code Block | ||
---|---|---|
| ||
…………… . . primaryButton:{ componentPath : “Button”, props:{ Variant :“contained”, Color :“primary” } . . ……………… |
Inbuilt Screens:
Login
...
Register
...