Package: babel-helper-builder-react-jsx
Created by: babel
Last modified: Mon, 13 Jun 2022 03:59:58 GMT
Version: 6.26.0
License: MIT
Downloads: 2,054,845
Repository: https://github.com/babel/babel/tree/master/packages/babel-helper-builder-react-jsx
Install
npm install babel-helper-builder-react-jsx
yarn add babel-helper-builder-react-jsx
babel-helper-builder-react-jsx
Usage
type ElementState = {
tagExpr: Object;
tagName: string;
args: Array<Object>;
call?: Object;
pre?: Function;
post?: Function;
};
require("babel-helper-builder-react-jsx")({
pre: function (state: ElementState) {
},
post: function (state: ElementState) {
}
});