UNPKG

@hisptz/react-ui

Version:

A collection of reusable complex DHIS2 react ui components.

31 lines (29 loc) 832 B
import React from "react"; import "../../styles/styles.css"; import DictionaryAnalysis from "./index"; const Template = args => /*#__PURE__*/React.createElement(DictionaryAnalysis, args); export const IndicatorSelector = Template.bind({}); IndicatorSelector.args = { dataSources: [{ id: "QQkOAJFukyY" }, { id: "cTzH6P0K2Eq" }, { id: "QVZjSkvUCgu" }] }; export default { title: "Components/Dictionary Analysis", component: DictionaryAnalysis, decorators: [DataSourceSelectorStory => /*#__PURE__*/React.createElement("div", { className: "row w-100 center" }, /*#__PURE__*/React.createElement("div", { style: { width: 700, height: "100vh", overflow: 'auto', marginTop: "100px" } }, /*#__PURE__*/React.createElement(DataSourceSelectorStory, null)))], argTypes: {} };