mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 06:49:15 +01:00
24 lines
561 B
TypeScript
24 lines
561 B
TypeScript
import * as React from 'react';
|
|
|
|
import { TransitionCallbacks } from './helpers';
|
|
|
|
export interface CollapseProps
|
|
extends TransitionCallbacks,
|
|
React.ClassAttributes<Collapse> {
|
|
in?: boolean;
|
|
mountOnEnter?: boolean;
|
|
unmountOnExit?: boolean;
|
|
appear?: boolean;
|
|
timeout?: number;
|
|
dimension?: 'height' | 'width' | (() => 'height' | 'width');
|
|
getDimensionValue?: (
|
|
dimension: number,
|
|
element: React.ReactElement,
|
|
) => number;
|
|
role?: string;
|
|
}
|
|
|
|
declare class Collapse extends React.Component<CollapseProps> {}
|
|
|
|
export default Collapse;
|