Skip to content

Commit

Permalink
🏷️ production bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jagnani73 committed Jul 6, 2021
1 parent dd8b63c commit 11d5afc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-easy-marquee",
"version": "1.1.2",
"version": "1.1.3",
"homepage": "https://jagnani73.github.io/react-easy-marquee",
"description": "A marquee component for React using CSS.",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Marquee = ({
width,
className,
children,
}: MarqueeProps) => {
}: Omit<MarqueeProps, "offset">) => {
const [animate, setAnimate] = useState<"running" | "paused">("running");

const offsetValues: [-1, 0, 1] = [-1, 0, 1];
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface MarqueeProps extends AnimationProps {
background?: string;
duration?: number;
height?: string;
pauseOnHover: boolean;
pauseOnHover?: boolean;
width?: string;
className?: string;
children: JSX.Element;
Expand Down

0 comments on commit 11d5afc

Please sign in to comment.