UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

18 lines (17 loc) 841 B
import type { ReactNode, RefObject } from 'react'; import type { HeightAnimationAllProps } from '../height-animation/HeightAnimation'; export type AccordionTertiarySharedState = { expanded: boolean; shouldFocusContent?: boolean; }; type AccordionTertiaryContentProps = Omit<HeightAnimationAllProps, 'animate' | 'children' | 'element' | 'id' | 'onOpen' | 'open' | 'ref'> & { contentId: string; expanded: boolean; noAnimation?: boolean; shouldFocusContent?: boolean; onFocusHandled?: () => void; contentRef?: RefObject<HTMLElement>; children?: ReactNode; }; export default function AccordionTertiaryContent({ contentId, expanded, noAnimation, shouldFocusContent, onFocusHandled, contentRef, className, children, ...rest }: AccordionTertiaryContentProps): import("react/jsx-runtime").JSX.Element; export {};