import type { ComponentProps, ReactNode } from "react"; import type { TextProps } from "../Text/index.mjs"; /** * `Label` extends `TextProps` so consumers can pass any Text styling override * (`color`, `fontWeight`, `variant`, `textAlign`, etc.) directly. The `asChild` * prop is owned by the component (it always renders into a semantic * `