Skip to content

Commit 5da1a29

Browse files
authored
fix: filtering container typescript types
Made optional props on FilteringContainer optional on exposed typescript interface
1 parent 2c9d012 commit 5da1a29

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ interface GroupRendererProps {
7272

7373
export interface FilteringContainerProps {
7474
children: (nodes: Node[]) => JSX.Element;
75-
debouncer: (func: (...p: any[]) => any, timeout: number) => void;
76-
groups: {[g: string]: Group};
77-
selectedGroup: string;
78-
groupRenderer: React.StatelessComponent<GroupRendererProps> | React.Component<GroupRendererProps>;
79-
onSelectedGroupChange: (c: string) => void;
75+
debouncer?: (func: (...p: any[]) => any, timeout: number) => void;
76+
groups?: {[g: string]: Group};
77+
selectedGroup?: string;
78+
groupRenderer?: React.StatelessComponent<GroupRendererProps> | React.Component<GroupRendererProps>;
79+
onSelectedGroupChange?: (c: string) => void;
8080
}
8181

8282
export class FilteringContainer extends React.Component<FilteringContainerProps> {}

0 commit comments

Comments
 (0)