import { PopoverText } from "./popover-text";

export const FloatingLabel = ({
  placeholder,
  children
}: {
  placeholder: string;
  children: React.ReactNode;
}) => {
  return (
    <PopoverText text={placeholder}>
      {children}
    </PopoverText>
  );
};