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.
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
orstyled-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.import { styled } from "linaria/react"
import { styled } from "@linaria/react"
Vue - not supported
esbuild