Update demo/ComboBox.tsx

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
This commit is contained in:
Anna Stasiuk 2020-11-30 12:34:32 +02:00 committed by GitHub
parent 11d441ba92
commit 801e57af61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ export default class ComboBox extends React.Component<ComboBoxProps, ComboBoxSta
onFocus={this.open}
onBlur={this.handleBlur}
onKeyDown={this.handleKeyPress}
aria-label="URL to a spec to try"
aria-label="URL to an OpenAPI definition to try"
/>
<Button onClick={this.handleTryItClick}> TRY IT </Button>
{open && <DropDownList>{options.map(this.renderOption)}</DropDownList>}