import { useTour } from "@reactour/tour"; import clsx from "clsx"; import { FC, HTMLAttributes, ReactNode } from "react"; import { Button } from "../Button"; import styles from "./styles.module.css"; export interface GuidedTourStepProps extends Omit, "content"> { title: string; content: ReactNode; showClose?: boolean; } export const GuidedTourStep: FC = ({ className, content, showClose, title, ...props }) => { const { setIsOpen } = useTour(); return (

{title}

{content}
{showClose && ( )}
); };