UNPKG

@kwiz/fluentui

Version:

KWIZ common controls for FluentUI

20 lines (19 loc) 780 B
import React from 'react'; export interface ISectionProps { main?: boolean; css?: string[]; style?: React.CSSProperties; onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void; rootProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>; title?: string; left?: boolean; right?: boolean; /** set height to match scroll parent's height, and stick to top */ sticky?: boolean; /** true - will add css position fixed. portal will also wrap it in a portal. */ fullscreen?: boolean | "portal"; centerSelf?: boolean; } export declare const Section: (props: ISectionProps & { children?: React.ReactNode | undefined; } & React.RefAttributes<HTMLDivElement>) => React.JSX.Element | null;