2022-02-04 10:21:10 +00:00
|
|
|
import React from "react";
|
2022-07-22 19:01:25 +00:00
|
|
|
import FileInput from "@docspace/components/file-input";
|
|
|
|
import Row from "@docspace/components/row";
|
|
|
|
import Textarea from "@docspace/components/textarea";
|
2022-02-04 10:21:10 +00:00
|
|
|
import Text from "../text";
|
|
|
|
|
|
|
|
export const data = [
|
|
|
|
{
|
|
|
|
id: "Overview",
|
|
|
|
name: "Overview",
|
|
|
|
content: (
|
|
|
|
<FileInput
|
|
|
|
accept=".doc, .docx"
|
|
|
|
id="file-input-id"
|
|
|
|
name="demoFileInputName"
|
|
|
|
onInput={() => {}}
|
|
|
|
placeholder="Input file"
|
|
|
|
/>
|
|
|
|
),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "Documents",
|
|
|
|
name: "Documents",
|
2023-04-05 10:56:30 +00:00
|
|
|
content: <p>Documents</p>,
|
2022-02-04 10:21:10 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "Milestones",
|
|
|
|
name: "Milestones",
|
|
|
|
content: (
|
|
|
|
<Row
|
|
|
|
key="1"
|
|
|
|
checked
|
|
|
|
contextOptions={[
|
|
|
|
{
|
|
|
|
key: "key1",
|
|
|
|
label: "Edit",
|
|
|
|
onClick: () => {},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: "key2",
|
|
|
|
label: "Delete",
|
|
|
|
onClick: function noRefCheck() {},
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
onRowClick={function noRefCheck() {}}
|
|
|
|
onSelect={function noRefCheck() {}}
|
|
|
|
>
|
2023-05-25 09:59:52 +00:00
|
|
|
<div
|
|
|
|
style={{
|
|
|
|
alignItems: "center",
|
|
|
|
justifyContent: "space-between",
|
|
|
|
display: "flex",
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<Text truncate>Sample text</Text>
|
|
|
|
</div>
|
2022-02-04 10:21:10 +00:00
|
|
|
</Row>
|
|
|
|
),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "Time tracking",
|
|
|
|
name: "Time tracking",
|
|
|
|
content: <p>Time tracking</p>,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "Contacts",
|
|
|
|
name: "Contacts",
|
|
|
|
content: <p>Contacts</p>,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "Team",
|
|
|
|
name: "Team",
|
|
|
|
content: <p>Team</p>,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export const startSelect = data[2];
|
|
|
|
|
|
|
|
export const testData = [
|
|
|
|
{
|
|
|
|
id: "Tab1",
|
|
|
|
name: "Tab1",
|
|
|
|
content: <p>1</p>,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "Tab2",
|
|
|
|
name: "Tab2",
|
|
|
|
content: <p>2</p>,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export const testStartSelect = testData[1];
|