Skip to content

linaria support for styled components #177

Description

@softmarshmallow

https://github.com/callstack/linaria

Note.

linaria is a static css generator, so we cannot use linaria for styled components with props givven. If configured, linaria will be the first choice and fallback to other styled library like @emotion/styled or styled-components

React

  • import { styled } from "linaria/react"
  • import { styled } from "@linaria/react"

Preact

linaria suggests us to use the same linaria/react module also for Preact.

Vue - not supported

esbuild

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions