This commit is contained in:
tengge1 2019-05-26 09:18:21 +08:00
parent 5fde987a19
commit 9fda9dd72c
3 changed files with 25 additions and 0 deletions

View File

@ -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';

View File

@ -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;