import React from "react"; import Text from "../text"; import Link from "../link"; import HelpButton from "."; export default { title: "Components/HelpButton", component: HelpButton, subcomponents: { Text, Link }, argTypes: {}, parameters: { docs: { description: { component: "HelpButton is used for a action on a page", }, }, }, }; const Template = (args) => { return (
); }; export const Default = Template.bind({}); Default.args = { offsetTop: 0, offsetRight: 0, offsetBottom: 0, offsetLeft: 0, tooltipContent: Paste you tooltip content here, place: "right", }; const AutoTemplate = (args) => { return (

You can put every thing here

} {...args} />
); }; export const AutoPosition = AutoTemplate.bind({}); AutoPosition.args = { offsetTop: 0, offsetRight: 0, offsetBottom: 0, offsetLeft: 0, };