We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd2f3f commit 7d73547Copy full SHA for 7d73547
src/index.d.ts
@@ -0,0 +1,17 @@
1
+declare module 'react-optimize' {
2
+ import { ComponentType, ReactNode } from 'react';
3
+ interface ExperimentProps {
4
+ children: ReactNode;
5
+ id: string;
6
+ loader?: ReactNode;
7
+ timeout?: number;
8
+ }
9
+
10
+ const Experiment: ComponentType<ExperimentProps>;
11
12
+ interface VariantProps {
13
14
15
16
+ const Variant: ComponentType<VariantProps>;
17
+}
0 commit comments