(props)
| 15 | |
| 16 | export default class KeySelect extends React.Component { |
| 17 | constructor(props) { |
| 18 | super(props); |
| 19 | this.state = { |
| 20 | selectedIndex: props.selectedIndex, |
| 21 | dropdownOpen: false |
| 22 | }; |
| 23 | this.handleClick = this.handleClick.bind(this); |
| 24 | this.toggle = this.toggle.bind(this); |
| 25 | } |
| 26 | |
| 27 | handleClick(selectedIndex) { |
| 28 | this.props.onChange(selectedIndex); |
nothing calls this directly
no outgoing calls
no test coverage detected