From a9bdbcaac21e671260e4706f28cfe3ee3213115a Mon Sep 17 00:00:00 2001 From: Gooddevil Date: Sat, 30 Nov 2024 22:48:28 +0330 Subject: [PATCH] Update export components in the src --- package.json | 7 ++----- src/index.ts | 9 ++++++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6a66570..cd03b55 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,9 @@ "type": "module", "main": "./index.js", "types": "./src/index.d.ts", - "files": [ - "dist/", - "README.md" - ], "keywords": [ - "anotherUI,React", + "anotherUI", + "React", "Tailwind", "Shadcn", "Learning" diff --git a/src/index.ts b/src/index.ts index 497eb82..400b0de 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,8 @@ -export { Button } from './components/Button'; +export { + Button, + type ButtonProps, + type ButtonVariants, + IconButton, + type IconButtonProps, + type IconButtonVariants, +} from './components/Button';