UNPKG

@carbon/react

Version:

React components for the Carbon Design System

10 lines (9 loc) 278 B
export default normalize; /** * Normalize a collection of rows with the given headers. * * @param {Array<object>} rows * @param {Array<object>} headers * @returns {object} */ declare function normalize(rows: Array<object>, headers: Array<object>, prevState?: {}): object;