Skip to content

Commit

Permalink
fix: wrong export format for new components
Browse files Browse the repository at this point in the history
  • Loading branch information
tareq1988 committed Feb 9, 2024
1 parent fdcf421 commit a4a0338
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wedevs/tail-react",
"version": "0.4.0",
"version": "0.4.1",
"description": "A React UI component library based on Tailwind CSS",
"author": "Tareq Hasan",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Popover/Popover.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';

import Popover from './Popover';
import { Popover } from './Popover';

const meta: Meta<typeof Popover> = {
component: Popover,
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ const Popover = ({
);
};

export default Popover;
export { Popover };
2 changes: 1 addition & 1 deletion src/Components/Tooltip/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';

import Tooltip from './Tooltip';
import { Tooltip } from './Tooltip';

const meta: Meta<typeof Tooltip> = {
component: Tooltip,
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ const Tooltip: React.FC<TooltipProps> = ({
);
};

export default Tooltip;
export { Tooltip };

0 comments on commit a4a0338

Please sign in to comment.