@@ -172,13 +172,11 @@ export type SelectContentProps = {
172172export type SelectListProps = {
173173 /**
174174 * A render function that receives each item and its index, returning a ReactNode.
175- * Can also accept static ReactNode children, which are rendered as-is .
175+ * Can also accept static ReactNode children.
176176 *
177177 * When items are grouped, this render function is used for individual items
178178 * within each group — the group scaffolding (headers, separators, collection)
179- * is handled automatically by `SelectList` **only when `children` is provided as
180- * a render function**. If you pass static ReactNode children while using grouped
181- * items, you are responsible for rendering any group headers or separators.
179+ * is handled automatically by `SelectList`.
182180 * @example children={(item) => <SelectItem value={item.value}>{item.label}</SelectItem>}
183181 */
184182 children ?: ReactNode | ( ( item : SelectItemData , index : number ) => ReactNode ) ;
@@ -188,21 +186,6 @@ export type SelectListProps = {
188186 className ?: string ;
189187} & Omit < ComponentPropsWithRef < 'div' > , 'children' > ;
190188
191- export type SelectGroupProps = {
192- /**
193- * The children of the select group.
194- */
195- children : ReactNode ;
196- /**
197- * Items to be rendered within this group.
198- */
199- items ?: readonly SelectItemData [ ] ;
200- /**
201- * Extra class names to apply to the group element.
202- */
203- className ?: string ;
204- } & ComponentPropsWithRef < 'div' > ;
205-
206189export type SelectLabelProps = {
207190 /**
208191 * The children of the select label.
0 commit comments