Skip to content

Commit ae4bed2

Browse files
Remove 'init' and 'GraphQLVoyager' exports (#317)
1 parent 6889782 commit ae4bed2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/index.tsx

-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,2 @@
1-
import * as ReactDOM from 'react-dom';
2-
3-
import { Voyager, VoyagerProps } from './components';
4-
5-
// FIXME: remove in next breaking version
6-
/** @deprecated please use renderVoyagerPage **/
7-
export function init(element: HTMLElement, options: VoyagerProps) {
8-
ReactDOM.render(<Voyager {...options} />, element);
9-
}
10-
111
export { Voyager, type VoyagerProps } from './components';
12-
13-
// FIXME: remove in next breaking version
14-
export { Voyager as GraphQLVoyager };
15-
162
export { voyagerIntrospectionQuery } from './utils/introspection-query';

0 commit comments

Comments
 (0)