mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-11 18:42:56 +00:00
25 lines
444 B
TypeScript
25 lines
444 B
TypeScript
import { Component } from 'react';
|
|
|
|
class Leaf extends Component {
|
|
static displayName = 'Leaf';
|
|
|
|
static componentMetadata = {
|
|
componentName: 'Leaf',
|
|
configure: {
|
|
props: [{
|
|
name: 'children',
|
|
setter: 'StringSetter',
|
|
}],
|
|
// events/className/style/general/directives
|
|
supports: false,
|
|
},
|
|
};
|
|
|
|
render() {
|
|
const { children } = this.props;
|
|
return children;
|
|
}
|
|
}
|
|
|
|
export default Leaf;
|