UNPKG

rsuite

Version:

A suite of react components

17 lines (16 loc) 778 B
/** * Forked from Semantic-Org/Semantic-UI-React: * https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/lib/htmlPropsUtils.js */ export declare const htmlInputAttrs: string[]; export declare const htmlInputEvents: string[]; export declare const htmlInputProps: string[]; /** * Returns an array of objects consisting of: props of html input element and rest. * @param {object} props A ReactElement props object * @param {Object} [options={}] * @param {Array} [options.htmlProps] An array of html input props * @param {boolean} [options.includeAria] Includes all input props that starts with "aria-" * @returns {[{}, {}]} An array of objects */ export declare const partitionHTMLProps: (props: any, options?: any) => [React.InputHTMLAttributes<any>, any];