From ca059c407f31147d8f110d2900030ab6b8bec6d3 Mon Sep 17 00:00:00 2001 From: Niloy Sikdar Date: Sun, 11 Sep 2022 12:53:20 +0530 Subject: [PATCH] fix(exports): add missing exports (#111) Add missing interface exports for CSSClasses and ThemeOptions from the package Fixes #110 Signed-off-by: Niloy Sikdar Signed-off-by: Niloy Sikdar --- src/components/index.ts | 1 + src/utils/index.ts | 1 + src/utils/makeStyles/index.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/components/index.ts b/src/components/index.ts index 4c9304b..97835e7 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -8,3 +8,4 @@ export * from './Typography'; export * from './Image'; export * from './Preheader'; export * from './Quote'; +export type { ThemeOptions } from './DefaultTheme'; diff --git a/src/utils/index.ts b/src/utils/index.ts index 57b5c47..beb90ff 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,5 +1,6 @@ export { sx } from './sx'; export { makeStyles } from './makeStyles'; +export type { CSSClasses } from './makeStyles'; export { generateEmail } from './generateEmail'; export { generateTextEmailFromHTML } from './generateTextEmailFromHTML'; export { generateTextEmail } from './generateTextEmail'; diff --git a/src/utils/makeStyles/index.ts b/src/utils/makeStyles/index.ts index 90e4250..9c073cf 100644 --- a/src/utils/makeStyles/index.ts +++ b/src/utils/makeStyles/index.ts @@ -1 +1,2 @@ export { makeStyles } from './makeStyles'; +export type { CSSClasses } from './makeStyles';