26 lines
838 B
TypeScript
26 lines
838 B
TypeScript
import * as React from 'react';
|
|
import type { IExpandingCardProps } from './ExpandingCard.types';
|
|
import type { JSXElement } from '@fluentui/utilities';
|
|
export interface IExpandingCardState {
|
|
firstFrameRendered: boolean;
|
|
needsScroll: boolean;
|
|
}
|
|
export declare class ExpandingCardBase extends React.Component<IExpandingCardProps, IExpandingCardState> {
|
|
static defaultProps: {
|
|
compactCardHeight: number;
|
|
expandedCardHeight: number;
|
|
directionalHintFixed: boolean;
|
|
};
|
|
private _classNames;
|
|
private _expandedElem;
|
|
private _async;
|
|
constructor(props: IExpandingCardProps);
|
|
componentDidMount(): void;
|
|
componentWillUnmount(): void;
|
|
render(): JSXElement;
|
|
private _onKeyDown;
|
|
private _onRenderCompactCard;
|
|
private _onRenderExpandedCard;
|
|
private _checkNeedsScroll;
|
|
}
|