We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7964230 commit 629db69Copy full SHA for 629db69
src/index.ts
@@ -1,7 +1,7 @@
1
import React from 'react';
2
import Ctx from './ctx';
3
import * as Babel from '@babel/standalone';
4
-import { type TBabel } from './index.d';
+import type { TBabel } from './index.d';
5
import StringToReact from './strintToReact';
6
const getCtx = (React: object, Babel: TBabel) => new Ctx(React, Babel);
7
export default StringToReact.bind(null, { getCtx: getCtx, Babel: Babel, react: React });
0 commit comments