@zendeskgarden/container-accordion
Version:
Containers relating to accordions in the Garden Design System
9 lines (8 loc) • 450 B
TypeScript
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import { IUseAccordionProps, IUseAccordionReturnValue } from './types';
export declare function useAccordion<Value>({ idPrefix, sections, expandedSections, defaultExpandedSections, onChange, expandable, collapsible }: IUseAccordionProps<Value>): IUseAccordionReturnValue<Value>;