Login

Login auth widget


Usage

import { ItsyLogin } from "@itsy-ui/auth";

const schema = {
  "formSchema": {
    "id": "login_form",
    "displayName": "Login",
    "propertyDefinitions": {
      "username": {
        "id": "username",
        "displayName": "Username",
        "placeholderText": "Enter the username",
        "required": true,
        "ui:widget": "text",
        "type": "email"
      },
      "password": {
        "id": "password",
        "displayName": "Password",
        "placeholderText": "Enter the password",
        "required": true,
        "ui:widget": "text",
        "type": "password"
      }
    }
  }
}

<ItsyLogin className="Login" schema={schema} />


API

name type default description
className String additional class name of root node.
style Object {} Inline style object
schema Object {} Schema which contains information to be displayed inside form.



Compatibility

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
Edge last 2 versions last 2 versions last 2 versions last 2 versions