import { jsx } from '@antv/f-engine'; import { deepMix } from '@antv/util'; export default (props) => { const { records, animation, y0, onClick } = props; return ( {records.map((record) => { const { key, children } = record; return ( {children.map((item) => { const { key, xMin, xMax, yMin, yMax, x, y, color, shape } = item; if (isNaN(xMin) || isNaN(xMax) || isNaN(yMin) || isNaN(yMax)) { return null; } return ( ); })} ); })} ); };