Skip to content

Commit 8992df4

Browse files
committed
chore: deprecate cubejsApi in favor of cubeApi
1 parent 8e2a3ec commit 8992df4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/cubejs-client-react/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ declare module '@cubejs-client/react' {
3939
}
4040

4141
type CubeProviderProps = {
42-
cubejsApi: CubejsApi | null;
42+
cubeApi?: CubejsApi | null;
43+
/**
44+
* @deprecated Use `cubeApi` instead
45+
*/
46+
cubejsApi?: CubejsApi | null;
4347
options?: CubeProviderOptions;
4448
children: React.ReactNode;
4549
};

0 commit comments

Comments
 (0)