Fix minor eslint warnings
This commit is contained in:
parent
8917402888
commit
43a33c3ab3
7 changed files with 11 additions and 11 deletions
|
|
@ -11,9 +11,9 @@ import { renderRawIcon } from "config/icon";
|
|||
import type { Icon } from "config/icon";
|
||||
|
||||
export type Helpers = {
|
||||
Icon: (props: Object) => React.Node,
|
||||
Label: (props: Object) => React.Node,
|
||||
Action: (props: Object) => React.Node
|
||||
Icon: (props: { item: { +icon?: Icon }, state: State }) => React.Node,
|
||||
Label: (props: {}) => React.Node,
|
||||
Action: (props: {}) => React.Node
|
||||
};
|
||||
|
||||
export type BaseComponent<T> = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue