UNPKG

@twstyled/babel-preset

Version:

Babel plugin for twstyled -- the full-featured Tailwind CSS + CSS in JS Compiler

8 lines (7 loc) 385 B
import { JSXAttribute, TemplateLiteral } from '@babel/types'; import type babelCore from '@babel/core'; import type { NodePath } from '@babel/traverse'; import type { CorePluginState } from './types'; export default function visitorPreprocessToCss({ types: t }: { types: typeof babelCore.types; }, item: NodePath<JSXAttribute>, state: CorePluginState, css: TemplateLiteral): void;