mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce member-delimiter-style using eslint (#4870)
This commit is contained in:
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"];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user