UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

13 lines (12 loc) 762 B
import * as React from 'react'; export var TributeComponentWrapper = function (props) { var children = props.children; var id = props.domId || ''; var organization = props.organization || ''; var ppm = props.ppm || ''; var title = props.title || ''; var type = props.type || ''; var wbsComponent = props.wbsComponent || ''; var workItem = props.workItem || ''; return (React.createElement("span", { className: 'fr-deletable fr-tribute schedio-tribute-component', contentEditable: false, id: id, "data-tribute-title": title, "data-tribute-type": type, "data-tribute-organization": organization, "data-tribute-ppm": ppm, "data-tribute-wbscomponent": wbsComponent, "data-tribute-workitem": workItem }, children)); };