Closed
Description
Using react and nextjs. The div element gets the className: ci74fup
but no styles are applied. What am I missing?
Am I limited to using only the react-helpers?
import React from 'react'
import Head from 'next/head'
import { css } from 'linaria';
const container = css`
background-color: red;
`;
export default () => {
return (
<>
<Head><title>CSS Playground</title></Head>
<div className={container}>
Hello World
</div>
</>
)
}
.babelrc
{ "presets": ["next/babel", "linaria/babel"] }
Metadata
Metadata
Assignees
Labels
No labels