Home Reference Source
import {ProfileHead} from 'peter-test/app/components/ProfileHead.jsx'
public class | source

ProfileHead

Extends:

react~Component → ProfileHead

Constructor Summary

Public Constructor
public

Component constructor

Member Summary

Public Members
public
public

handleResize(evt: event): *

Handle resize event for window to change sidebar status

public

state: {"isSmall": *}

Method Summary

Public Methods
public

render(): react element

Reneder component DOM

Public Constructors

public constructor(props: object) source

Component constructor

Params:

NameTypeAttributeDescription
props object

is an object properties of component

Public Members

public componentDidMount: * source

public handleResize(evt: event): * source

Handle resize event for window to change sidebar status

public state: {"isSmall": *} source

Public Methods

public render(): react element source

Reneder component DOM

Return:

react element

return the DOM which rendered by component