mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
代码优化。
This commit is contained in:
parent
024c9ccbba
commit
c7a096155c
@ -3,6 +3,9 @@
|
||||
* @author tengge / https://github.com/tengge1
|
||||
*/
|
||||
class Buttons extends React.Component {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default Buttons;
|
||||
@ -3,6 +3,9 @@
|
||||
* @author tengge / https://github.com/tengge1
|
||||
*/
|
||||
class Column extends React.Component {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default Column;
|
||||
@ -3,6 +3,9 @@
|
||||
* @author tengge / https://github.com/tengge1
|
||||
*/
|
||||
class Columns extends React.Component {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default Columns;
|
||||
@ -3,6 +3,9 @@
|
||||
* @author tengge / https://github.com/tengge1
|
||||
*/
|
||||
class Content extends React.Component {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default Content;
|
||||
@ -3,6 +3,9 @@
|
||||
* @author tengge / https://github.com/tengge1
|
||||
*/
|
||||
class Row extends React.Component {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default Row;
|
||||
@ -3,6 +3,9 @@
|
||||
* @author tengge / https://github.com/tengge1
|
||||
*/
|
||||
class Rows extends React.Component {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default Rows;
|
||||
@ -4,6 +4,9 @@ import PropTypes from 'prop-types';
|
||||
|
||||
import Canvas from '../../media/Canvas.jsx';
|
||||
import Window from '../../window/Window.jsx';
|
||||
import Content from '../../common/Content.jsx';
|
||||
import Buttons from '../../common/Buttons.jsx';
|
||||
import Button from '../../form/Button.jsx';
|
||||
|
||||
/**
|
||||
* 视口
|
||||
@ -62,7 +65,15 @@ class Viewport extends React.Component {
|
||||
render() {
|
||||
return <>
|
||||
<Canvas className={'Viewport'} ref={this.canvas}></Canvas>
|
||||
<Window title={'Message'}>Welcome to use ShadowEditor!</Window>
|
||||
<Window title={'Message'}>
|
||||
<Content>
|
||||
Welcome to use ShadowEditor!
|
||||
</Content>
|
||||
<Buttons>
|
||||
<Button>OK</Button>
|
||||
<Button>Cancel</Button>
|
||||
</Buttons>
|
||||
</Window>
|
||||
</>;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user