@uva-glass/component-library
Version:
React components UvA
34 lines (33 loc) • 971 B
JavaScript
import { jsx as t } from "react/jsx-runtime";
import { Tooltip as e } from "./Tooltip.js";
import { Container as i } from "../../storyComponents/Container/Container.js";
const r = "<Tooltip element={element} id={id} text={text} size={size} />", c = {
title: "Atoms/Tooltip",
component: e,
argTypes: {
element: {
control: "text"
},
// Disable openUnderTrigger controls as this is a Lens specific prop that we should not use in other places.
// This is still needed until Lens structure is reworked.
openUnderTrigger: {
table: {
disable: !0
}
}
},
parameters: {
inspectComponent: e,
codeString: r
}
}, n = (o) => /* @__PURE__ */ t(i, { centerContent: !0, children: /* @__PURE__ */ t(e, { ...o }) }), l = n.bind({});
l.args = {
element: "Tooltip Trigger",
id: "52fcc9e9",
text: "Here is your Tooltip"
};
export {
l as TooltipExample,
c as default
};
//# sourceMappingURL=Tooltip.stories.js.map