UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

19 lines (18 loc) 902 B
export declare const baseElementEvents: string[]; export declare const baseElementProperties: string[]; export declare const anchorProperties: string[]; export declare const buttonProperties: string[]; export declare const divProperties: string[]; export declare const inputProperties: string[]; export declare const textAreaProperties: string[]; export declare const imageProperties: string[]; /** * Gets native supported props for an html element provided the allowance set. Use one of the property * sets defined (divProperties, buttonPropertes, etc) to filter out supported properties from a given * props set. Note that all data- prefixed attributes will be allowed. * * @param props The unfiltered input props * @param allowedPropsNames The array of allowed propnames. * @returns The filtered props */ export declare function getNativeProps<T>(props: any, allowedPropNames: string[]): T;