library/styleguideComponents/PropsTable/renderers/builders/shapeAttrList.js
Function buildShapeAttrList
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function buildShapeAttrList(data) {
return Object.keys(data).map((name, index) => {
const type = data[name].name;
const value = data[name].value;
let valueType;