Skip to content

Commit a4a0338

Browse files
committed
fix: wrong export format for new components
1 parent fdcf421 commit a4a0338

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wedevs/tail-react",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "A React UI component library based on Tailwind CSS",
55
"author": "Tareq Hasan",
66
"license": "MIT",

src/Components/Popover/Popover.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Meta, StoryObj } from '@storybook/react';
22

3-
import Popover from './Popover';
3+
import { Popover } from './Popover';
44

55
const meta: Meta<typeof Popover> = {
66
component: Popover,

src/Components/Popover/Popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ const Popover = ({
5555
);
5656
};
5757

58-
export default Popover;
58+
export { Popover };

src/Components/Tooltip/Tooltip.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Meta, StoryObj } from '@storybook/react';
22

3-
import Tooltip from './Tooltip';
3+
import { Tooltip } from './Tooltip';
44

55
const meta: Meta<typeof Tooltip> = {
66
component: Tooltip,

src/Components/Tooltip/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ const Tooltip: React.FC<TooltipProps> = ({
4747
);
4848
};
4949

50-
export default Tooltip;
50+
export { Tooltip };

0 commit comments

Comments
 (0)