react-zoom-pan-pinch 2.3.2 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ import { Meta, Story, ArgsTable, Canvas } from "@storybook/addon-docs/blocks";
2
+ import { action } from "@storybook/addon-actions";
3
+
4
+ import { TransformWrapper } from "../../../components/transform-wrapper";
5
+ import { argsTypes } from "../../types/args.types";
6
+ import { Example } from "./example";
7
+
8
+ export const Template = (args) => <Example {...args} />;
9
+
10
+ <Meta
11
+ title="Examples/SVG Zoom To Element"
12
+ component={TransformWrapper}
13
+ argTypes={argsTypes}
14
+ />
15
+
16
+ # Zoom To Element
17
+
18
+ <br />
19
+
20
+ ### Preview:
21
+
22
+ <Canvas>
23
+ <Story name="SVG Zoom To Element">{(args) => <Template {...args} />}</Story>
24
+ </Canvas>
25
+
26
+ ## Component API
27
+
28
+ <ArgsTable story="SVG Zoom To Element" />