Home Identifier Source Repository
public class | source

SelectCountry

Extends:

react~React.Component → SelectCountry

select country Component

Static Member Summary

Static Public Members
public static get

default props values

public static get

propTypes

Constructor Summary

Public Constructor
public

constructor

Member Summary

Public Members
public

Method Summary

Public Methods
public

handleSubmit(e: SyntheticEvent)

handle submit form event

public

onSelectChange(e: SyntheticEvent)

handle change event on select options

public

render(): ReactElement

render

Static Public Members

public static get defaultProps: * source

default props values

public static get propTypes: * source

propTypes

Properties:

NameTypeAttributeDescription
selectable array

counrty list

Public Constructors

public constructor(props: object) source

constructor

Params:

NameTypeAttributeDescription
props object

Public Members

public state: object source

Properties:

NameTypeAttributeDescription
selectCountry string

selected country

Public Methods

public handleSubmit(e: SyntheticEvent) source

handle submit form event

Params:

NameTypeAttributeDescription
e SyntheticEvent

public onSelectChange(e: SyntheticEvent) source

handle change event on select options

Params:

NameTypeAttributeDescription
e SyntheticEvent

public render(): ReactElement source

render

Return:

ReactElement

markup