UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

27 lines (26 loc) 716 B
import * as React from 'react'; import { Sticky } from './Sticky'; export interface IStickyProps extends React.Props<Sticky> { /** * Gets ref to component interface. */ componentRef?: (component: IStickyProps) => void; /** * Class name to apply to the sticky element if component is sticky. */ stickyClassName?: string; /** * color to apply as 'background-color' style for sticky element. */ stickyBackgroundColor?: string; /** * Region to render sticky component in. * @default Both */ stickyPosition?: StickyPositionType; } export declare enum StickyPositionType { Both = 0, Header = 1, Footer = 2, }