import { deepMix, isNil } from '@antv/util'; import { jsx } from '@antv/f-engine'; export default (props) => { const { records, animation, clip } = props; return ( {records.map((record) => { const { key, children } = record; return ( {children.map((item) => { const { x, y, size, color, shapeName, shape } = item; if (isNaN(x) || isNaN(y)) { return null; } if (shapeName === 'rect') { const rectSize = isNil(size) ? shape.size : size; return ( ); } return ( ); })} ); })} ); };