@wix/design-system
Version:
@wix/design-system
13 lines • 516 B
TypeScript
import React from 'react';
import { CollapseProps } from './Collapse.types';
/** Use `<Collapse/>` for hideable content.
*
* For example, create an accordion within `<Card/>` to collapse its `<Card.Content/>`
* or to wrap <TopBanner/>.
*/
declare const Collapse: {
({ children, open, position, dataHook, mountOnEnter, unmountOnExit, onExpandAnimationEnd, onCollapseAnimationEnd, }: CollapseProps): React.JSX.Element;
displayName: string;
};
export default Collapse;
//# sourceMappingURL=Collapse.d.ts.map