import { HelpCircleIcon } from 'lucide-react' import Block from '../../../Primitives/Block/Block' import Text from '../../../Text/Text' import { Tooltip, TooltipSize } from '../../../Tooltip' import { InputSizeV2, InputStateV2 } from '../../inputV2.types' import { addPxToValue } from '../../../../global-utils/GlobalUtils' import type { InputLabelsV2Tokens } from '../../inputV2.tokens' export type InputLabelsV2Props = { label?: string sublabel?: string helpIconText?: string name?: string inputId?: string required?: boolean tokens?: InputLabelsV2Tokens labelId?: string size?: InputSizeV2 state?: InputStateV2 } const InputLabelsV2 = ({ label, sublabel, helpIconText, name, inputId, required, tokens, labelId, size = InputSizeV2.SM, state = InputStateV2.DEFAULT, }: InputLabelsV2Props) => { return ( label && ( {label} {required && ( )} {sublabel && ( ({sublabel}) )} {helpIconText && ( )} ) ) } export default InputLabelsV2