import classNames from "classnames"; import * as React from "react"; import { Typography } from "../Typography/Typography"; import styles from "./BasePopup.module.scss"; export type BasePopupPosition = "bottom" | "top" | "left" | "right"; export interface BasePopupProps extends React.ComponentPropsWithoutRef<"div"> { /** * If the Popup has an indicator */ hasIndicator: boolean; /** * The position of the Popup */ position: BasePopupPosition; /** * The text for the Popup */ text: string; } export const BasePopup = React.forwardRef< HTMLDivElement, BasePopupProps >((props, ref) => { const { className, hasIndicator, position, text, ...rest } = props; return (
{text}
); }); BasePopup.displayName = "BasePopup";