diff options
author | crupest <crupest@outlook.com> | 2023-08-01 00:29:35 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-01 00:29:35 +0800 |
commit | e6ccc0174a86a0ade240e6551228598cd81f984b (patch) | |
tree | d495dff9658c23de22191c4532e14016a6fb96a8 /FrontEnd/src/pages/timeline/TimelineEmptyItem.tsx | |
parent | 710ff9d3d2e55113798c39b0595f8f71b12091ef (diff) | |
download | timeline-e6ccc0174a86a0ade240e6551228598cd81f984b.tar.gz timeline-e6ccc0174a86a0ade240e6551228598cd81f984b.tar.bz2 timeline-e6ccc0174a86a0ade240e6551228598cd81f984b.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/TimelineEmptyItem.tsx')
-rw-r--r-- | FrontEnd/src/pages/timeline/TimelineEmptyItem.tsx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/FrontEnd/src/pages/timeline/TimelineEmptyItem.tsx b/FrontEnd/src/pages/timeline/TimelineEmptyItem.tsx deleted file mode 100644 index 5e0728d4..00000000 --- a/FrontEnd/src/pages/timeline/TimelineEmptyItem.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import * as React from "react"; -import classnames from "classnames"; - -import TimelineLine, { TimelineLineProps } from "./TimelineLine"; - -export interface TimelineEmptyItemProps extends Partial<TimelineLineProps> { - height?: number | string; - className?: string; - style?: React.CSSProperties; -} - -const TimelineEmptyItem: React.FC<TimelineEmptyItemProps> = (props) => { - const { height, style, className, center, ...lineProps } = props; - - return ( - <div - style={{ ...style, height: height }} - className={classnames("timeline-item", className)} - > - <TimelineLine center={center ?? "none"} {...lineProps} /> - </div> - ); -}; - -export default TimelineEmptyItem; |