I want to use Google Font in Typography.js
However it keeps telling me that I have syntax error and Gatsby JS always failed to run under
gatsby develop
Here is the Typography.js file:
//customize fonts here:
// set default font size to 16 px
import Typography from "typography";
const typography = new Typography({
baseFontSize: "16px",
googleFonts=[
name: 'Montserrat',
styles: [
'100',
'300',
'400'
],
]
});
export default typography;
Where did I do wrong?