mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
HistoryPanel
This commit is contained in:
parent
132346515e
commit
e4ea7a173a
@ -2,6 +2,8 @@ import './css/HistoryPanel.css';
|
||||
import classNames from 'classnames/bind';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import Content from '../../layout/Content.jsx';
|
||||
|
||||
/**
|
||||
* 历史面板
|
||||
* @author tengge / https://github.com/tengge1
|
||||
@ -12,7 +14,12 @@ class HistoryPanel extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <div>History</div>;
|
||||
return <Content className={'HistoryPanel'}>
|
||||
<div className={'item'}>Add Object:Box</div>
|
||||
<div className={'item'}>Set Position</div>
|
||||
<div className={'item'}>Set Position</div>
|
||||
<div className={'item undo'}>Set Position</div>
|
||||
</Content>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -0,0 +1,12 @@
|
||||
.HistoryPanel {
|
||||
border: 1px solid #ccc;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.HistoryPanel .item {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.HistoryPanel .item.undo {
|
||||
opacity: .3;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user