diff --git a/package.json b/package.json index d1d3c48..befc2ee 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/Components/Popover/Popover.stories.tsx b/src/Components/Popover/Popover.stories.tsx index a28650b..06053b4 100644 --- a/src/Components/Popover/Popover.stories.tsx +++ b/src/Components/Popover/Popover.stories.tsx @@ -1,6 +1,6 @@ import type { Meta, StoryObj } from '@storybook/react'; -import Popover from './Popover'; +import { Popover } from './Popover'; const meta: Meta = { component: Popover, diff --git a/src/Components/Popover/Popover.tsx b/src/Components/Popover/Popover.tsx index 9c1f8e4..3e6c2de 100644 --- a/src/Components/Popover/Popover.tsx +++ b/src/Components/Popover/Popover.tsx @@ -55,4 +55,4 @@ const Popover = ({ ); }; -export default Popover; +export { Popover }; diff --git a/src/Components/Tooltip/Tooltip.stories.tsx b/src/Components/Tooltip/Tooltip.stories.tsx index 21eb2ab..0220dcd 100644 --- a/src/Components/Tooltip/Tooltip.stories.tsx +++ b/src/Components/Tooltip/Tooltip.stories.tsx @@ -1,6 +1,6 @@ import type { Meta, StoryObj } from '@storybook/react'; -import Tooltip from './Tooltip'; +import { Tooltip } from './Tooltip'; const meta: Meta = { component: Tooltip, diff --git a/src/Components/Tooltip/Tooltip.tsx b/src/Components/Tooltip/Tooltip.tsx index e6bfbf3..82b8579 100644 --- a/src/Components/Tooltip/Tooltip.tsx +++ b/src/Components/Tooltip/Tooltip.tsx @@ -47,4 +47,4 @@ const Tooltip: React.FC = ({ ); }; -export default Tooltip; +export { Tooltip };