UNPKG

@flow-editor/render

Version:

Dawn数据流的React实现

15 lines 459 B
import React, { Fragment } from 'react'; import { DawnBrickDispatcher } from './DawnBrickDispatcher'; export function DawnBrickListDispatcher(_ref) { var scope = _ref.scope, model = _ref.model, bricks = _ref.bricks; return React.createElement(Fragment, null, bricks.map(function (config) { return React.createElement(DawnBrickDispatcher, { key: config.id, scope: scope, config: config, model: model }); })); }