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, StringLiteral } from '@babel/types'; import type babelCore from '@babel/core'; import type { NodePath } from '@babel/traverse'; import type { CorePluginState } from './types'; export default function visitorPreprocessToClass({ types: t }: { types: typeof babelCore.types; }, item: NodePath<JSXAttribute>, state: CorePluginState, value: StringLiteral): void;