mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
Timeline
This commit is contained in:
parent
5fde987a19
commit
9fda9dd72c
@ -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';
|
||||
|
||||
@ -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 <div className={classNames('Timeline', className)} style={style}></div>;
|
||||
}
|
||||
}
|
||||
|
||||
Timeline.propTypes = {
|
||||
className: PropTypes.string,
|
||||
style: PropTypes.object,
|
||||
};
|
||||
|
||||
export default Timeline;
|
||||
0
ShadowEditor.UI/src/timeline/css/Timeline.css
Normal file
0
ShadowEditor.UI/src/timeline/css/Timeline.css
Normal file
Loading…
x
Reference in New Issue
Block a user