import React from "react"; export type InputSelectProps = { value: string "data-wd-key"?: string options: [string, any][] | string[] style?: object onChange(value: string | [string, any]): unknown title?: string "aria-label"?: string }; export default class InputSelect extends React.Component { render() { let options = this.props.options; if(options.length > 0 && !Array.isArray(options[0])) { options = options.map((v) => [v, v]) as [string, any][]; } return ; } }