Skip to content
This repository was archived by the owner on Aug 27, 2020. It is now read-only.
This repository was archived by the owner on Aug 27, 2020. It is now read-only.

Styles outside of components error #2

@ahoyahoy

Description

@ahoyahoy

I cannot use

import * as css from 'styled-jsx/css'
const button = css`button { color: hotpink; }`

error:

[ts] Cannot invoke an expression whose type lacks a call signature. Type 'typeof 'styled-jsx/css'' has no compatible call signatures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions