Commit d36de2f7 authored by Chunchi Che's avatar Chunchi Che

add timeLine.tsx

parent b63b9fb1
Pipeline #20429 passed with stages
in 6 minutes and 9 seconds
This diff is collapsed.
......@@ -23,6 +23,10 @@ const contentStyle: React.CSSProperties = {
const siderStyle: React.CSSProperties = {
textAlign: "center",
lineHeight: "120px",
position: "fixed",
overflow: "auto",
height: "100vh",
padding: "50px 20px",
color: "#fff",
};
......
......@@ -22,6 +22,7 @@ import ExtraDeck from "./extraDeck";
import NeosLayout from "./layout";
import { initStrings } from "../../api/strings";
import NeosConfig from "../../../neos.config.json";
import DuelTimeLine from "./timeLine";
// Ref: https://github.com/brianzinn/react-babylonjs/issues/126
const NeosDuel = () => {
......@@ -43,7 +44,7 @@ const NeosDuel = () => {
return (
<>
<NeosLayout
sider={<div>sider</div>}
sider={<DuelTimeLine />}
header={<div>header</div>}
content={<NeosCanvas />}
footer={<div>footer</div>}
......
import React from "react";
import { Timeline } from "antd";
const DuelTimeLine = () => <Timeline items={[]} />;
export default DuelTimeLine;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment