diff --git a/src/front/Components/DesignSystem/CheckBox/index.tsx b/src/front/Components/DesignSystem/CheckBox/index.tsx index ee5c3950..06a50c27 100644 --- a/src/front/Components/DesignSystem/CheckBox/index.tsx +++ b/src/front/Components/DesignSystem/CheckBox/index.tsx @@ -6,8 +6,8 @@ import Typography, { ITypo, ITypoColor } from "../Typography"; import classes from "./classes.module.scss"; type IProps = { + name?: string; option: IOption; - name: string; toolTip?: string; }; @@ -20,7 +20,11 @@ export default class CheckBox extends React.Component { return ( diff --git a/src/front/Components/Layouts/Folder/AskDocuments/classes.module.scss b/src/front/Components/Layouts/Folder/AskDocuments/classes.module.scss index acf7d19d..cdfe52a9 100644 --- a/src/front/Components/Layouts/Folder/AskDocuments/classes.module.scss +++ b/src/front/Components/Layouts/Folder/AskDocuments/classes.module.scss @@ -7,9 +7,6 @@ .form-container { margin-top: 16px; - display: flex; - flex-direction: column; - gap: 24px; .checkbox-container { margin-top: 32px; @@ -17,6 +14,16 @@ grid-template-columns: repeat(2, 1fr); gap: 24px; } + + .buttons-container { + display: flex; + gap: 32px; + margin-top: 32px; + } + } + + .add-document-container { + margin-top: 32px; } .buttons-container { diff --git a/src/front/Components/Layouts/Folder/AskDocuments/index.tsx b/src/front/Components/Layouts/Folder/AskDocuments/index.tsx index bdd02f03..ec6499f2 100644 --- a/src/front/Components/Layouts/Folder/AskDocuments/index.tsx +++ b/src/front/Components/Layouts/Folder/AskDocuments/index.tsx @@ -1,4 +1,5 @@ -import Button from "@Front/Components/DesignSystem/Button"; +import PlusIcon from "@Assets/Icons/plus.svg"; +import Button, { EButtonVariant } from "@Front/Components/DesignSystem/Button"; import CheckBox from "@Front/Components/DesignSystem/CheckBox"; import Form, { IApiFormErrors } from "@Front/Components/DesignSystem/Form"; import Confirm from "@Front/Components/DesignSystem/Modal/Confirm"; @@ -42,17 +43,15 @@ export default class AskDocuments extends BasePage { super(props); this.state = { - actType: { - label: "Divorce", - value: "divorce", - }, - isCreateDocumentModalVisible: true, + actType: null, + isCreateDocumentModalVisible: false, }; this.onActTypeChange = this.onActTypeChange.bind(this); this.onFormSubmit = this.onFormSubmit.bind(this); this.closeModal = this.closeModal.bind(this); this.openModal = this.openModal.bind(this); + this.cancel = this.cancel.bind(this); } public override render(): JSX.Element { @@ -69,22 +68,36 @@ export default class AskDocuments extends BasePage {