projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init-setup-shell-acc-dialog
[arvados-workbench2.git]
/
src
/
store
/
tree-picker
/
picker-id.tsx
diff --git
a/src/store/tree-picker/picker-id.tsx
b/src/store/tree-picker/picker-id.tsx
index 562195455655ee98ae717f8a46475075006718d3..3907ba8e4b675d2d82ae677549702111ac0cdd05 100644
(file)
--- a/
src/store/tree-picker/picker-id.tsx
+++ b/
src/store/tree-picker/picker-id.tsx
@@
-4,9
+4,13
@@
import * as React from 'react';
import * as React from 'react';
+export interface PickerIdProp {
+ pickerId: string;
+}
+
export const pickerId =
(id: string) =>
export const pickerId =
(id: string) =>
- <P extends
{ pickerId: string }
>(Component: React.ComponentType<P>) =>
+ <P extends
PickerIdProp
>(Component: React.ComponentType<P>) =>
(props: P) =>
<Component {...props} pickerId={id} />;
\ No newline at end of file
(props: P) =>
<Component {...props} pickerId={id} />;
\ No newline at end of file