mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: Add interface for props to UserPickerOption (#10289)
This commit is contained in:
parent
5931d6c87d
commit
68d43b865f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user