Home Reference Source Repository
import {SignInButton} from 'omicron-client/src/components/login_form.js'
public class | source

SignInButton

Extends:

react~React.Component → SignInButton

Constructs and renders a button enabling the user to sign in

Constructor Summary

Public Constructor
public

constructor(props: *)

Member Summary

Public Members
public

props: *

Method Summary

Public Methods
public

Returns the appropriate name of the element class to which this button belongs.

public

render(): XML

Render the component into the DOM.

Public Constructors

public constructor(props: *) source

Params:

NameTypeAttributeDescription
props *

Public Members

public props: * source

Public Methods

public get_class_name(): String source

Returns the appropriate name of the element class to which this button belongs. The "is_active" flag in the Props states whether this component should be grayed out or not. If the button is to be grayed out, the class of this button is changed to "disabled".

Return:

String

The className of the button

public render(): XML source

Render the component into the DOM.

Return:

XML