office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines (23 loc) • 774 B
TypeScript
import { BaseComponent } from '../../Utilities';
import { IExpandingCardProps } from './ExpandingCard.types';
export interface IExpandingCardState {
firstFrameRendered: boolean;
needsScroll: boolean;
}
export declare class ExpandingCardBase extends BaseComponent<IExpandingCardProps, IExpandingCardState> {
static defaultProps: {
compactCardHeight: number;
expandedCardHeight: number;
directionalHintFixed: boolean;
};
private _classNames;
private _expandedElem;
constructor(props: IExpandingCardProps);
componentDidMount(): void;
componentWillUnmount(): void;
render(): JSX.Element;
private _onKeyDown;
private _onRenderCompactCard;
private _onRenderExpandedCard;
private _checkNeedsScroll;
}