import React from "react"; interface UsernameInputProps extends React.ComponentPropsWithRef<"input"> { label?: string; } /** * @deprecated Use to achieve the same effect. */ const UsernameInput = React.forwardRef((props, ref) => ( // todo, check if username is already taken here?
{process.env.NEXT_PUBLIC_APP_URL}/{props.label && "team/"}
)); UsernameInput.displayName = "UsernameInput"; export { UsernameInput };