UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Microsoft 365.

48 lines (40 loc) 1.12 kB
import { IStyle, ITheme } from '../../Styling'; import { IStyleFunctionOrObject } from '../../Utilities'; /** * {@docCategory GroupedList} */ export interface IGroupSpacerProps { /** * Theme from Higher Order Component * * @deprecated unused, to be removed in 7.0 */ theme?: ITheme; /** * Style function to be passed in to override the themed or default styles * * @deprecated unused, to be removed in 7.0 */ // eslint-disable-next-line deprecation/deprecation styles?: IStyleFunctionOrObject<IGroupSpacerStyleProps, IGroupSpacerStyles>; /** Count of spacer(s) */ count: number; /** How much to indent */ indentWidth?: number; /** Override the default role (presentation) */ role?: string; } /** * {@docCategory GroupedList} * @deprecated unused, to be removed in 7.0. Use {@link IGroupSpacerProps.indentWidth} */ export type IGroupSpacerStyleProps = Required<Pick<IGroupSpacerProps, 'theme'>> & { width?: number; }; /** * {@docCategory GroupedList} * @deprecated unused, to be removed in 7.0. */ export interface IGroupSpacerStyles { root: IStyle; }