Home Identifier Source Repository
public class | source

InputArtist

Extends:

react~React.Component → InputArtist

input form commponent for artist name

Constructor Summary

Public Constructor
public

constructor

Member Summary

Public Members
public

Method Summary

Public Methods
public

handleSubmit(e: SytheticEvent)

handle submit form event

public

onInputChange(e: SytheticEvent)

handle change event at input form

public

render(): ReactElement

render

Public Constructors

public constructor(props: object) source

constructor

Params:

NameTypeAttributeDescription
props object

Public Members

public state: object source

Properties:

NameTypeAttributeDescription
inputArtist string

search artist

Public Methods

public handleSubmit(e: SytheticEvent) source

handle submit form event

Params:

NameTypeAttributeDescription
e SytheticEvent

public onInputChange(e: SytheticEvent) source

handle change event at input form

Params:

NameTypeAttributeDescription
e SytheticEvent

public render(): ReactElement source

render

Return:

ReactElement

markup