mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-02 07:20:38 +00:00
1. fix bug of failing to resolve RFC components
2. support transforming function args
3. fix bug of oneOfType
4. fix bug of crash when circular parsing
5. fix bug of union
6. support tuple
7. fix bug of builtin type parsing
8. fix bug of false positive component identification
9. fix bug of entry resolving
23 lines
707 B
TypeScript
23 lines
707 B
TypeScript
import * as React from 'react';
|
|
import classNames from 'classnames';
|
|
import './index';
|
|
interface DefaultEmptyImg {
|
|
className?: string;
|
|
imageStyle?: React.CSSProperties;
|
|
}
|
|
|
|
export const DefaultEmptyImg = (props: DefaultEmptyImg) => {
|
|
const { className, imageStyle, ...restProps } = props;
|
|
const prefixCls = 'design-empty-default';
|
|
const alt = 'empty';
|
|
|
|
return (
|
|
<div className={classNames(prefixCls, className)} {...restProps}>
|
|
<div className={`${prefixCls}-image`} style={imageStyle}>
|
|
<img alt={alt} src="https://img.alicdn.com/tfs/TB13G0LTNv1gK0jSZFFXXb0sXXa-54-54.svg" />
|
|
</div>
|
|
<p className={`${prefixCls}-description`}>暂时没有数据</p>
|
|
</div>
|
|
);
|
|
};
|