import React, { Dispatch, SetStateAction } from 'react'; import { TreeProps } from 'react-stately'; /** * Console Warning: "Cannot update a component (`Unknown`)...`" * when using controlledExpanded prop is expected * and related to a known issue within React Stately. */ interface AccordionProps extends Omit, 'onExpandedChange'> { labelHeadingTag?: string; onExpandedChange?: Dispatch>; } declare const AccordionGroup: React.ForwardRefExoticComponent>; export default AccordionGroup;