babel-plugin-transform-jsx-stylesheet
Version:
Transform stylesheet selector to style in JSX Elements.
28 lines (27 loc) • 634 B
TypeScript
export default function ({ types: t, template }: {
types: any;
template: any;
}, opts?: {}): {
pre(file: any): void;
visitor: {
Program: {
exit({ node }: {
node: any;
}, { file }: {
file: any;
}): void;
};
JSXOpeningElement({ container }: {
container: any;
}, { file, opts }: {
file: any;
opts: any;
}): void;
ImportDeclaration({ node }: {
node: any;
}, { file, opts }: {
file: any;
opts: any;
}): void;
};
};