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