import type { Component, ValidComponent } from "solid-js"; import { FormControlLabel } from "../form-control"; import type { ElementOf, PolymorphicProps } from "../polymorphic"; export interface RadioGroupLabelOptions {} export interface RadioGroupLabelCommonProps< T extends HTMLElement = HTMLElement, > {} export interface RadioGroupLabelRenderProps extends RadioGroupLabelCommonProps {} export type RadioGroupLabelProps< T extends ValidComponent | HTMLElement = HTMLElement, > = RadioGroupLabelOptions & Partial>>; /** * The label that gives the user information on the radio group. */ export function RadioGroupLabel( props: PolymorphicProps>, ) { return ( > as="span" {...(props as RadioGroupLabelProps)} /> ); }