@patreon/studio
Version:
Patreon Studio Design System
8 lines (7 loc) • 391 B
TypeScript
import React from 'react';
import type { CollapseProps } from './types';
/**
* The `Collapse` component can be used to hide content that is not immediately
* relevant to the user. Use the `isCollapsed` prop to toggle its visibility.
*/
export declare function Collapse({ fadeColor, fadeHeight, collapsedHeight, fadeBottom, children, id, isCollapsed, }: CollapseProps): React.JSX.Element;