Skip to content
Snippets Groups Projects
Commit 9c5e8295 authored by Jose Manuel Serrano Amaut's avatar Jose Manuel Serrano Amaut
Browse files

[WIP]: Add ExtFIle type section

parent 700e6bee
No related branches found
No related tags found
No related merge requests found
import * as React from "react"; import * as React from "react";
import DescParagraph from "../../components/demo-components/desc-paragraph/DescParagraph";
import MainContentContainer from "../../components/layout-pages/MainContentContainer"; import MainContentContainer from "../../components/layout-pages/MainContentContainer";
import MainLayoutPage from "../../components/layout-pages/MainLayoutPage"; import MainLayoutPage from "../../components/layout-pages/MainLayoutPage";
import RightMenuContainer from "../../components/layout-pages/RightMenuContainer"; import RightMenuContainer from "../../components/layout-pages/RightMenuContainer";
import MainTitle from "../../components/main-title/MainTitle"; import MainTitle from "../../components/main-title/MainTitle";
import MainParagraph from "../../components/paragraph-main/MainParagraph"; import MainParagraph from "../../components/paragraph-main/MainParagraph";
import RightMenu from "../../components/RightMenu/RightMenu"; import RightMenu from "../../components/RightMenu/RightMenu";
import { ExtFileAPIRows } from "../../data/ExtFileAPIRows";
import PropsTableApi from "../api/PropsTableApi"; import PropsTableApi from "../api/PropsTableApi";
const rightMenuItems = [ const rightMenuItems = [
...@@ -13,16 +15,7 @@ const rightMenuItems = [ ...@@ -13,16 +15,7 @@ const rightMenuItems = [
label: "ExtFile", label: "ExtFile",
referTo: "/types#extfile", referTo: "/types#extfile",
}, },
{
id: 2,
label: "CustomValidateFileResponse",
referTo: "/types#customvalidatefileresponse",
},
{
id: 3,
label: "UploadConfig",
referTo: "/types#uploadconfig",
},
{ {
id: 4, id: 4,
label: "ActionButtons", label: "ActionButtons",
...@@ -38,6 +31,26 @@ const rightMenuItems = [ ...@@ -38,6 +31,26 @@ const rightMenuItems = [
label: "FooterConfig", label: "FooterConfig",
referTo: "/types#footerconfig", referTo: "/types#footerconfig",
}, },
{
id: 7,
label: "UploadConfig",
referTo: "/types#uploadconfig",
},
{
id: 8,
label: "ServerResonse",
referTo: "/types#uploadconfig",
},
{
id: 2,
label: "CustomValidateFileResponse",
referTo: "/types#customvalidatefileresponse",
},
{
id: 9,
label: "UPLOADSTATUS",
referTo: "/types#uploadstatus",
},
]; ];
const TypesPage = (props) => { const TypesPage = (props) => {
...@@ -51,10 +64,15 @@ const TypesPage = (props) => { ...@@ -51,10 +64,15 @@ const TypesPage = (props) => {
components. components.
</MainParagraph> </MainParagraph>
<section id="extfile"> <section id="extfile">
<PropsTableApi rows={[]} title="ExtFile" /> <PropsTableApi
title="ExtFile"
desc={'This object "extends" the File Object'}
omitDefault
rows={ExtFileAPIRows}
/>
</section> </section>
<section id="customvalidatefileresponse"> <section id="customvalidatefileresponse">
<PropsTableApi rows={[]} title="CustomValidateFileResponse" /> <PropsTableApi rows={[]} title="ValidateFileResponse" />
</section> </section>
<section id="actionbuttons"> <section id="actionbuttons">
<PropsTableApi rows={[]} title="ActionButtons" /> <PropsTableApi rows={[]} title="ActionButtons" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment