@kadconsulting/dry
Version:
KAD Reusable Component Library
16 lines • 462 B
JavaScript
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
import { useFetch } from '../useFetch';
export default {
title: 'Hooks/useFetch',
tags: ['autodocs'],
component: _jsx(_Fragment, {}),
argTypes: {},
};
export const Default = {
render: (args, context) => {
const { data, isLoading, error } = useFetch('', {});
return _jsx(_Fragment, {});
},
args: {},
};
//# sourceMappingURL=useFetch.stories.js.map