javascript - TypeError: (0 , _typography.scale) is not a function -


i use project next.js , typography.

i receive error typeerror: (0, _typography.scale) not function and, unfortunately, don't understand why.

import link 'next/link' import typography, { rhythm, scale } '../utils/typography'; import colors '../utils/colors';  const headerlink = {   ...scale(-1/4),   marginright: rhythm(1),   color: colors.gunsmoke }  export default () => (   <header>       <a style={headerlink} href="/#top">home</a>   </header> ) 


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -