v1.0.1
- Allow inspector options to be passed to <XStateInspectLoader> 6f8c39c
This allows you to use the new visualizer with <XStateInspectLoader>
!
import React from 'react';
import { XStateInspectLoader } from 'xstate-helpers/react/XStateInspectLoader';
const App = () => {
return (
<XStateInspectLoader options={{ url: 'https://stately.ai/viz' }}>
<YourComponents />
</XStateInspectLoader>
);
};