Home Reference Source Repository
import ButtonProfile from 'learnenergy401/component/ButtonProfile.js'
public class | source

ButtonProfile

Extends:

react~Component → ButtonProfile

Method Summary

Public Methods
public

Invoked immediately before a component is unmounted and destroyed, to update our states

public

Gets current user

public

render(): html

Loads the button for Login.

Public Methods

public componentWillMount() source

Invoked immediately before a component is unmounted and destroyed, to update our states

public getCurrentUser(): object source

Gets current user

Return:

object

user - Returns current user logged in

public render(): html source

Loads the button for Login.

Return:

html

returns button and links