import React from "react"; import { TransitionDurationTokens } from "@contentful/f36-tokens"; import { CommonProps, PropsWithHTMLElement } from "@contentful/f36-core"; //#region src/Collapse.d.ts interface CollapseInternalProps extends CommonProps { /** * Child nodes to be rendered in the component */ children?: React.ReactNode; /** * A boolean that tells if the accordion should be expanded or collapsed * @default false */ isExpanded: boolean; /** * string for additional classNames */ className?: string; /** * Control the expansion/collapsing transition duration. * Pass one of the transition duration token values. * @default 'transitionDurationDefault' * @example */ transitionDuration?: TransitionDurationTokens; } type CollapseProps = PropsWithHTMLElement; declare const Collapse: ({ children, className, isExpanded, transitionDuration, testId, ...otherProps }: CollapseProps) => import("react/jsx-runtime").JSX.Element; //#endregion export { Collapse, type CollapseProps }; //# sourceMappingURL=index.d.ts.map