react-zoom-pan-pinch
Version:
Zoom and pan html elements in easy way
29 lines (19 loc) • 630 B
text/mdx
import { Meta, Story, ArgsTable, Canvas } from "@storybook/addon-docs/blocks";
import { action } from "@storybook/addon-actions";
import { TransformWrapper, TransformComponent } from "../../../components";
import { argsTypes } from "../../types/args.types";
import { Example } from "./example";
export const Template = (args) => <Example {...args} />;
<Meta
title="Examples/Stress test"
component={TransformWrapper}
argTypes={argsTypes}
/>
<br />
<Canvas>
<Story name="Stress test">{(args) => <Template {...args} />}</Story>
</Canvas>
<ArgsTable story="Stress test" />