MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / constructor

Function constructor

src/app/keyring/components/KeySelect.js:17–25  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

15
16export 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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected