import * as React from "react"; import { action } from "@storybook/addon-actions"; import { withKnobs, text, boolean, select } from "@storybook/addon-knobs"; import Position from "./Position"; export default { title: "Modules|Properties/Individual Properties/Position", component: Position, excludeStories: /.*Data$/, }; export const Default: any = () => { const [style, setStyle] = React.useState({ marginTop: 50, padding: 100, width: 500, }); const updateStyle = (property) => { setStyle({ ...style, ...property }); }; return ( <>