Home Reference Source
public class | source

Dropdown

Extends:

react~React.Component → Dropdown

Pure React dropdown that doesn't rely on jQuery or Materialize at all. Works similar to the React-Materialize dropdown component: <Dropdown trigger={ <Button className='btn btn-block btn-small'><i className="fa fa-plus"></i></Button> }> <DropdownItem><Link to='/ceo/content/new'>Content</Link></DropdownItem> <DropdownItem><Link to='/ceo/assignment/new'>Assignment</Link></DropdownItem> </Dropdown>

Constructor Summary

Public Constructor
public

constructor(props: *)

Member Summary

Public Members
public

state: *

Method Summary

Public Methods
public
public
public
public
public

onUpdate(state: *)

public

render(): *

Public Constructors

public constructor(props: *) source

Params:

NameTypeAttributeDescription
props *

Public Members

public state: * source

Public Methods

public componentWillMount() source

public componentWillUnmount() source

public handleClick() source

public handleWindowKey(e: *) source

Params:

NameTypeAttributeDescription
e *

public onUpdate(state: *) source

Params:

NameTypeAttributeDescription
state *

public render(): * source

Return:

*