UNPKG

enchoice-fabric-react-lib

Version:

This project was created to integrate Microsoft Fabric React

29 lines (28 loc) 901 B
import { ITheme, IStyle } from 'office-ui-fabric-react/lib/Styling'; import { IStyleFunctionOrObject } from 'office-ui-fabric-react/lib/Utilities'; import { ICommandBarItemProps } from 'office-ui-fabric-react/lib/CommandBar'; export interface IExtendedCommandBarProps { id: string; url: string; iconOnly?: boolean; items?: ICommandBarItemProps[]; farItems?: ICommandBarItemProps[]; styles?: IStyleFunctionOrObject<IExtendedCommandBarStyleProps, IExtendedCommandBarStyles>; theme?: ITheme; className?: string; } export interface IExtendedCommandBarStyleProps { theme: ITheme; className?: string; } export interface IExtendedCommandBarStyles { root?: IStyle; } export interface IExtendedCommandBarItem { key: string; label: string; icon: string; urlCommand: string; contentType: string; fileType: string; }