1 | import _extends from "@babel/runtime/helpers/esm/extends";
|
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
3 | import * as React from 'react';
|
4 | import PropTypes from 'prop-types';
|
5 | import clsx from 'clsx';
|
6 | import { withStyles } from '@material-ui/core/styles';
|
7 | export const styles = () => ({
|
8 |
|
9 | root: {
|
10 | display: 'flex',
|
11 | flexDirection: 'column',
|
12 | flex: 0,
|
13 | alignItems: 'center'
|
14 | }
|
15 | });
|
16 | const TimelineSeparator = React.forwardRef(function TimelineSeparator(props, ref) {
|
17 | const {
|
18 | classes,
|
19 | className
|
20 | } = props,
|
21 | other = _objectWithoutPropertiesLoose(props, ["classes", "className"]);
|
22 |
|
23 | return React.createElement("div", _extends({
|
24 | className: clsx(classes.root, className),
|
25 | ref: ref
|
26 | }, other));
|
27 | });
|
28 | process.env.NODE_ENV !== "production" ? TimelineSeparator.propTypes = {
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | |
35 |
|
36 |
|
37 | children: PropTypes.node,
|
38 |
|
39 | |
40 |
|
41 |
|
42 |
|
43 | classes: PropTypes.object,
|
44 |
|
45 | |
46 |
|
47 |
|
48 | className: PropTypes.string
|
49 | } : void 0;
|
50 | export default withStyles(styles, {
|
51 | name: 'MuiTimelineSeparator'
|
52 | })(TimelineSeparator); |
\ | No newline at end of file |