import type { JSX } from 'solid-js'; import { mergeProps } from 'solid-js'; import { omitProps } from 'solid-use/props'; import createDynamic from '../../utils/create-dynamic'; import type { DynamicProps, HeadlessProps, ValidConstructor } from '../../utils/dynamic-prop'; import { useRadioGroupContext } from './RadioGroupContext'; import { RADIO_GROUP_LABEL_TAG } from './tags'; export type RadioGroupLabelProps = HeadlessProps; /** * The accessible name of a `RadioGroup` or of one `RadioGroupOption`, * depending on which it is nested in. Wired up through `aria-labelledby`. * * Renders a `