This commit is contained in:
Elijah Lucian
2021-03-24 00:04:04 -07:00
parent 88e62bdf48
commit 104d39b4c6
12 changed files with 24 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react'
import { Button, Divider, Form, Input, message, Row, Typography } from 'antd'
import FormItem from 'antd/lib/form/FormItem'
import { Content } from 'antd/lib/layout/layout'
import React from 'react'
import { useState } from 'react'
import { useHistory } from 'react-router-dom'
import { createClient } from '../api'
@@ -43,9 +43,6 @@ export const Dashboard = () => {
<Typography.Title className="page-head" level={3}>
Dashboard
</Typography.Title>
<Typography.Text>
Enter the name, email and phone number of the subject
</Typography.Text>
<Divider />
<Form
form={form}
@@ -54,6 +51,9 @@ export const Dashboard = () => {
labelCol={{ span: 8 }}
wrapperCol={{ span: 16 }}
>
<Typography.Paragraph style={{ textAlign: 'center' }}>
Enter the name, email and phone number of the subject
</Typography.Paragraph>
<FormItem label="name" name="name">
<Input minLength={3} />
</FormItem>