import clsx from "clsx"; import React from "react"; import Tooltip from "./Tooltip"; import type { toolTipProperties } from "../types"; interface LabelProps { left?: React.ReactNode; type?: string; toolTipProperties?: toolTipProperties; } const Label = ({ type, left, toolTipProperties }: LabelProps) => { const isTypeTextArea = () => { return type === "textarea"; }; return ( {left} } sideOffset={0} toolTipProperties={toolTipProperties} > ); }; export default Label;