Skip to content

Commit

Permalink
Export ThemeStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed May 24, 2020
1 parent 9481bbb commit 94b7162
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sidenav/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @jsx jsx */
import { jsx, ThemeProvider, SxStyleProp, Theme } from 'theme-ui'
import { jsx, ThemeProvider, Theme, ThemeStyles } from 'theme-ui'
import { MDXProvider, MDXProviderComponents } from '@mdx-js/react'
import React, {
useState,
Expand Down Expand Up @@ -79,7 +79,7 @@ export const Sidenav = forwardRef<
{
open?: boolean
components?: MDXProviderComponents
styles?: Theme['styles']
styles?: ThemeStyles
children: ReactNode
}
>(({ open, styles = {}, components = {}, ...props }, ref) => {
Expand Down
1 change: 1 addition & 0 deletions packages/theme-ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export {
ThemeUICSSProperties,
ThemeUIStyleObject,
Theme,
ThemeStyles,
TLengthStyledSystem,
UseThemeFunction,
} from '@theme-ui/css'
Expand Down

0 comments on commit 94b7162

Please sign in to comment.