UNPKG

@kadconsulting/dry

Version:
16 lines 498 B
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime"; import useAsyncState from '../useAsyncState'; export default { title: 'Hooks/useAsyncState', tags: ['autodocs'], component: _jsx(_Fragment, {}), argTypes: {}, }; export const Default = { render: (args, context) => { const [state, startLoading, stopLoading, handleError] = useAsyncState(); return _jsx(_Fragment, {}); }, args: {}, }; //# sourceMappingURL=useAsyncState.stories.js.map