From 4f757705450e097610a2b518b08c4631b3df5a90 Mon Sep 17 00:00:00 2001 From: Cali Castle Date: Wed, 26 Oct 2022 12:13:07 +0800 Subject: [PATCH] fix: export types --- packages/react/CHANGELOG.md | 6 ++++++ packages/react/package.json | 2 +- packages/react/src/index.ts | 8 +++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index f891730..f6008e1 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @zolplay/react +## 0.5.1 + +### Patch Changes + +- Fix types export + ## 0.5.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 8e7b89b..5816e44 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@zolplay/react", - "version": "0.5.0", + "version": "0.5.1", "main": "dist/index.js", "types": "dist/index.d.ts", "module": "dist/index.mjs", diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 4d0e389..db88daa 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -2,4 +2,10 @@ export * from './Avatar' export * from './DropdownMenu' export * from './ScrollArea' export * from './Stacked' -export type { Component, PrimitiveComponent } from '@/types' +export type { + Component, + ComponentProps, + LayoutComponent, + LayoutProps, + PrimitiveComponent, +} from '@/types'