fix: Add interface for props to UserPickerOption (#10289)

This commit is contained in:
Johannes Schill 2017-12-21 09:03:30 +01:00
parent 5931d6c87d
commit 68d43b865f

View File

@ -1,6 +1,12 @@
import React, { Component } from "react";
class UserPickerOption extends Component {
export interface IProps {
onSelect: any;
onFocus: any;
option: any;
isFocused: any;
className: any;
}
class UserPickerOption extends Component<IProps, any> {
constructor(props) {
super(props);
this.handleMouseDown = this.handleMouseDown.bind(this);