Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
className={classNames('example_row', 'example_input--20')}>
<select>) => {
this.setState({
ex2Pronoun: parseInt(event.target.value, 10),
});
}}>
<option value="{GenderConst.UNKNOWN_PLURAL}">Gender:</option>
<option value="{GenderConst.FEMALE_SINGULAR}">
Female (Singular)
</option>
<option value="{GenderConst.MALE_SINGULAR}">
Male (Singular)
</option>
<option value="{GenderConst.NOT_A_PERSON}">
Not a person
</option>
<option value="{GenderConst.UNKNOWN_PLURAL}">
Unknown (Plural)
</option>
<option value="{GenderConst.UNKNOWN_SINGULAR}">
Unknown (Singular)
</option>
</select>
<fieldset>
<span>
{/* Use and for a complex sentence */}
{this.state.ex2Name} has a {ExampleEnum[this.state.ex2Object]}{' '}</span></fieldset>
))}
<span>
<select>) => {
this.setState({
ex2Pronoun: parseInt(event.target.value, 10),
});
}}>
<option value="{GenderConst.UNKNOWN_PLURAL}">
Gender:
</option>
<option value="{GenderConst.NOT_A_PERSON}">
Not a person
</option>
<option value="{GenderConst.UNKNOWN_PLURAL}">
Unknown (Plural)
</option>
<option value="{GenderConst.UNKNOWN_SINGULAR}">
Unknown (singular)
</option>
<option value="{GenderConst.MALE_SINGULAR}">
Male (singular)
</option>
<option value="{GenderConst.FEMALE_SINGULAR}">
Female (singular)
</option>
</select>
</span>