Enforce member-delimiter-style using eslint (#4870)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-02-16 14:43:03 -05:00
1 parent 1c7641708e
commit 600bd659f6
158 files changed
+304 -294

No files matched your search

@@ -13,15 +13,15 @@ import { Input, InputProps, InputValidator } from "../input";
import { boundMethod } from "../../utils";
export interface Props<T> {
items: T[],
add: (newItem: string) => void,
remove: (info: { oldItem: T, index: number }) => void,
placeholder?: string,
items: T[];
add: (newItem: string) => void;
remove: (info: { oldItem: T; index: number }) => void;
placeholder?: string;
validators?: InputValidator | InputValidator[];
// An optional prop used to convert T to a displayable string
// defaults to `String`
renderItem?: (item: T, index: number) => React.ReactNode,
renderItem?: (item: T, index: number) => React.ReactNode;
inputTheme?: InputProps["theme"];
}