Created
October 14, 2021 12:16
-
-
Save akinogu/b254591dc55b2cac01917450eb457633 to your computer and use it in GitHub Desktop.
[styled-components]theme
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' | |
declare module 'styled-components' { | |
export interface DefaultTheme { | |
// ここに今回設定する型を定義 | |
color: string | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment