This component has been deprecated. Please use assistant-ui instead.

interface GroupProps {
    children?: ReactNode;
    className?: string;
    collapsible?: boolean;
    data-test?: string;
    description?: ReactNode;
    initialCollapsed?: boolean;
    title?: ReactNode;
}

Properties

children?: ReactNode

Content to show inside the Section

className?: string

Extra CSS classes

collapsible?: boolean

Whether the Group is collapsible

data-test?: string

Custom selector for testing

description?: ReactNode

The subtitle shown under the title

initialCollapsed?: boolean

Whether the Group is initially collapsed

title?: ReactNode

The title of the Group