From 68d43b865f0f3d9e9401d8d1df39aee6435b4251 Mon Sep 17 00:00:00 2001 From: Johannes Schill Date: Thu, 21 Dec 2017 09:03:30 +0100 Subject: [PATCH] fix: Add interface for props to UserPickerOption (#10289) --- .../core/components/UserPicker/UserPickerOption.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/public/app/core/components/UserPicker/UserPickerOption.tsx b/public/app/core/components/UserPicker/UserPickerOption.tsx index 145784127ee..c052631d295 100644 --- a/public/app/core/components/UserPicker/UserPickerOption.tsx +++ b/public/app/core/components/UserPicker/UserPickerOption.tsx @@ -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 { constructor(props) { super(props); this.handleMouseDown = this.handleMouseDown.bind(this);