Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #544 from brave/theme_changes
Browse files Browse the repository at this point in the history
allow any kind of theme for themeProvider and helper methods
  • Loading branch information
cezaraugusto authored Oct 8, 2019
2 parents 703f01d + f2d1311 commit a448f16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theme/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-ignore: Needed for ThemeProvider
import * as React from 'react'
import * as styledComponents from 'styled-components'
import IThemeProps, { BraveThemedStyledProps as ThemedStyledProps } from './theme-interface'
import { BraveThemedStyledProps as ThemedStyledProps } from './theme-interface'
// theme for testing
import TestTheme from './brave-default'

Expand All @@ -17,7 +17,7 @@ const {
// see: https://github.com/palantir/tslint/issues/3505
// It's possibly due to the rule upstream in tslint-config-standard
// tslint:disable-next-line
} = styledComponents as styledComponents.ThemedStyledComponentsModule<IThemeProps>
} = styledComponents as styledComponents.ThemedStyledComponentsModule<any>

export default styled

Expand Down

0 comments on commit a448f16

Please sign in to comment.