diff --git a/packages/wow-ui/src/types/index.ts b/packages/wow-ui/src/types/index.ts index b280a6fb..74b1458c 100644 --- a/packages/wow-ui/src/types/index.ts +++ b/packages/wow-ui/src/types/index.ts @@ -1,2 +1,7 @@ -export * from "./Button"; +export type { + BasicButtonProps, + ButtonElementType, + MenuButtonProps, + ToggleButtonProps, +} from "./Button"; export * from "./Polymorphic"; diff --git a/tsconfig.json b/tsconfig.json index 0f80cfd6..f0b37330 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,7 @@ "resolveJsonModule": true, "skipLibCheck": true, "strict": true, + "jsx": "react-jsx", "target": "ES2022" } }