Skip to content

Commit

Permalink
export error
Browse files Browse the repository at this point in the history
  • Loading branch information
igoyalsamarth committed Dec 13, 2023
1 parent 849765b commit 803115c
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/cjs/types/components/ReactionTime/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { ReactionTime } from "./ReactionTime";
export { ReactionTime };
import { ReactionTime, Analytics } from "./ReactionTime";
export { ReactionTime, Analytics };
2 changes: 1 addition & 1 deletion dist/esm/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/esm/types/components/ReactionTime/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { ReactionTime } from "./ReactionTime";
export { ReactionTime };
import { ReactionTime, Analytics } from "./ReactionTime";
export { ReactionTime, Analytics };
11 changes: 9 additions & 2 deletions dist/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode } from 'react';
import React$1, { ReactNode } from 'react';

interface TimerProps {
waitTime?: number;
Expand All @@ -8,7 +8,14 @@ interface TimerProps {
instructionsClassName?: string;
onReactionTimeChange: React.Dispatch<React.SetStateAction<number>>;
}
interface AnalyticsProps {
onReactionTimeChange: React.Dispatch<React.SetStateAction<number>>;
height?: number;
width?: number;
className?: string;
}

declare function ReactionTime(props: TimerProps): JSX.Element;
declare function Analytics(props: AnalyticsProps): React$1.JSX.Element;

export { ReactionTime };
export { Analytics, ReactionTime };
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@goyalsamarth/reaction-time-microservice",
"version": "1.0.3",
"version": "1.0.4",
"description": "Reaction Timer as a Microservice",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/components/ReactionTime/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { ReactionTime } from "./ReactionTime";
export {ReactionTime}
import { ReactionTime, Analytics } from "./ReactionTime";
export { ReactionTime, Analytics }

0 comments on commit 803115c

Please sign in to comment.