This file contains hidden or 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 from "styled-components"; | |
interface TitleProps { | |
isActive: boolean; | |
} | |
export const Title = ({ isActive }: TitleProps) => { | |
return ( | |
<TitleContainer isActive={isActive} id="dashboard-title"> | |
<h1>Dashboard</h1> |
This file contains hidden or 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
// just adds target: "serverless" | |
const path = require('path'); | |
const glob = require('glob'); | |
module.exports = { | |
webpack: config => { | |
config.module.rules.push( | |
{ | |
test: /\.(css|scss)/, |