Skip to content

Commit eaed2b6

Browse files
authored
Update: Export Config type (#499)
1 parent bc820ee commit eaed2b6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/index.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// --- Config/Theme
2+
export { type Config } from './config/config'
3+
export { type TextElementMap } from './theme/theme-defaults'
4+
export { type Theme, createTheme } from './theme/theme'
5+
16
// --- Providers
27
export { ComponentryProvider, useTheme } from './components/Provider/Provider'
38
export { Media, useMedia } from './components/Media/Media'
@@ -32,10 +37,6 @@ export { Tabs } from './components/Tabs/Tabs'
3237
export { Text, type TextProps } from './components/Text/Text'
3338
export { Tooltip } from './components/Tooltip/Tooltip'
3439

35-
// --- THEME
36-
export { type TextElementMap } from './theme/theme-defaults'
37-
export { type Theme, createTheme } from './theme/theme'
38-
3940
// --- Utilities
4041
export { useActive, useActiveScrollReset, useNoScroll, useVisible } from './hooks'
4142
export { setupOutlineHandlers } from './utils/dom'
@@ -45,6 +46,6 @@ export {
4546
type UtilityProps,
4647
} from './utils/utility-classes'
4748

48-
// --- Tailwind utilities
49+
// --- Tailwind
4950
export { borderPlugin } from './utils/tailwind-plugins'
5051
export { tailwindSafelist } from './utils/tailwind-safelist'

0 commit comments

Comments
 (0)