UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

26 lines (25 loc) 888 B
import { BaseComponent } from '../../Utilities'; import { IExpandingCardProps } from './ExpandingCard.Props'; import { DirectionalHint } from '../../common/DirectionalHint'; export interface IExpandingCardState { firstFrameRendered: boolean; needsScroll: boolean; } export declare class ExpandingCard extends BaseComponent<IExpandingCardProps, IExpandingCardState> { static defaultProps: { compactCardHeight: number; expandedCardHeight: number; directionalHint: DirectionalHint; gapSpace: number; }; private _styles; private _callout; private _expandedElem; constructor(props: IExpandingCardProps); componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; private _onRenderCompactCard(); private _onRenderExpandedCard(); private _checkNeedsScroll(); }