From 9fda9dd72cfbcdc5c99d20a0b91be6d3a9d5eccd Mon Sep 17 00:00:00 2001 From: tengge1 <930372551@qq.com> Date: Sun, 26 May 2019 09:18:21 +0800 Subject: [PATCH] Timeline --- ShadowEditor.UI/src/index.js | 3 +++ ShadowEditor.UI/src/timeline/Timeline.jsx | 22 +++++++++++++++++++ ShadowEditor.UI/src/timeline/css/Timeline.css | 0 3 files changed, 25 insertions(+) create mode 100644 ShadowEditor.UI/src/timeline/css/Timeline.css diff --git a/ShadowEditor.UI/src/index.js b/ShadowEditor.UI/src/index.js index caed83e4..33606617 100644 --- a/ShadowEditor.UI/src/index.js +++ b/ShadowEditor.UI/src/index.js @@ -42,6 +42,9 @@ export { default as PropertyGrid } from './property/PropertyGrid.jsx'; // table export { default as DataGrid } from './table/DataGrid.jsx'; +// timeline +export { default as Timeline } from './timeline/Timeline.jsx'; + // toolbar export { default as Toolbar } from './toolbar/Toolbar.jsx'; export { default as ToolbarSeparator } from './toolbar/ToolbarSeparator.jsx'; diff --git a/ShadowEditor.UI/src/timeline/Timeline.jsx b/ShadowEditor.UI/src/timeline/Timeline.jsx index e69de29b..b412d323 100644 --- a/ShadowEditor.UI/src/timeline/Timeline.jsx +++ b/ShadowEditor.UI/src/timeline/Timeline.jsx @@ -0,0 +1,22 @@ +import './css/Timeline.css'; +import classNames from 'classnames/bind'; +import PropTypes from 'prop-types'; + +/** + * 时间轴 + * @author tengge / https://github.com/tengge1 + */ +class Timeline extends React.Component { + render() { + const { className, style } = this.props; + + return
; + } +} + +Timeline.propTypes = { + className: PropTypes.string, + style: PropTypes.object, +}; + +export default Timeline; \ No newline at end of file diff --git a/ShadowEditor.UI/src/timeline/css/Timeline.css b/ShadowEditor.UI/src/timeline/css/Timeline.css new file mode 100644 index 00000000..e69de29b