UNPKG

@atlaskit/renderer

Version:
10 lines 400 B
import React from 'react'; // For sync block to work, we are passing in a custom syncBlock renderer through nodeComponents // However, we need define a basic component to render the sync block export default function SyncBlock(props) { return /*#__PURE__*/React.createElement("div", { "data-sync-block": true, "data-local-id": props.localId, "data-resource-id": props.resourceId }); }