fix(react): re-export of stitches types

This commit is contained in:
Pavel Prichodko 2022-04-19 14:09:56 +02:00
parent a52475dc1d
commit 612e84ee2a
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,6 @@
import { createStitches } from '@stitches/react'
import type { CSS as StitchesCSS } from '@stitches/react'
export type { VariantProps } from '@stitches/react'
export type CSS = StitchesCSS<typeof config>
export type Theme = typeof theme
import type { CSS as StitchesCSS, VariantProps } from '@stitches/react'
export const {
styled,
@ -164,3 +160,7 @@ export const darkTheme = createTheme({
kaki: 'rgba(234, 210, 123, 1)',
},
})
export type { VariantProps }
export type CSS = StitchesCSS<typeof config>
export type Theme = typeof theme