fix(react): re-export of stitches types

This commit is contained in:
Pavel Prichodko 2022-04-19 14:09:56 +02:00
parent f66fa8e231
commit 11e9bd6891
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
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