Created
September 23, 2022 12:41
-
-
Save AndresdoSantos/8281dfd32b0dc371fd9ff8e57f8bba79 to your computer and use it in GitHub Desktop.
Styled-components type definitions file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'styled-components' | |
import theme from '@theme/index' | |
declare module 'styled-components' { | |
type ThemeType = typeof theme | |
export interface DefaultTheme extends ThemeType {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment