/** * Copyright (c) OpenSpug Organization. https://github.com/openspug/spug * Copyright (c) * Released under the AGPL-3.0 License. */ import React from 'react' import { observer } from 'mobx-react'; import { LoadingOutlined } from '@ant-design/icons'; import Icon from '../Icon'; import { clsNames } from 'libs'; import S from './store'; import css from './node.module.less'; function Node(props) { const node = props.node switch (node) { case ' ': return
case ' -': return
case '--': return
case ' 7': return
case '-7': return
case ' |': return (
) default: return (
{S.outputs[node.id]?.status === 'processing' ? : null}
) } } export default observer(Node)