7 lines
164 B
TypeScript
7 lines
164 B
TypeScript
|
import { useContext } from 'react'
|
||
|
import { ThemeContext } from 'styled-components/macro'
|
||
|
|
||
|
export default function useTheme() {
|
||
|
return useContext(ThemeContext)
|
||
|
}
|