UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

30 lines (24 loc) 932 B
import * as React from 'react'; import { AnnouncedBase } from './Announced.base'; import { IStyle } from '../../Styling'; import { IStyleFunctionOrObject } from '../../Utilities'; export interface IAnnounced {} export interface IAnnouncedProps extends React.Props<AnnouncedBase>, React.HTMLAttributes<HTMLDivElement> { /** Call to provide customized styling that will layer on top of the variant rules. */ styles?: IStyleFunctionOrObject<{}, IAnnouncedStyles>; /** * Optional callback to access the IAnnounced interface. Use this instead of ref for accessing * the public methods and properties of the component. */ componentRef?: (component: IAnnounced) => void; /** * The status message provided as screen reader output */ message?: string; } export interface IAnnouncedStyles { /** * Style override for the screen reader text. */ screenReaderText: IStyle; }