ui - cleanup input text boxes

This commit is contained in:
Ishaan Jaff 2024-04-22 13:34:23 -07:00
parent 69121360ba
commit 40ae951634
3 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react";
import { Button, Modal, Form, Input, message, Select, InputNumber } from "antd";
import { Button as Button2, Text } from "@tremor/react";
import { Button as Button2, Text, TextInput } from "@tremor/react";
import { userCreateCall, modelAvailableCall } from "./networking";
const { Option } = Select;
@ -94,7 +94,7 @@ const Createuser: React.FC<CreateuserProps> = ({ userID, accessToken, teams }) =
labelAlign="left"
>
<Form.Item label="User Email" name="user_email">
<Input placeholder="Enter User Email" />
<TextInput placeholder="" />
</Form.Item>
<Form.Item label="Team ID" name="team_id">
<Select

View file

@ -20,6 +20,7 @@ import {
TableHead,
TableHeaderCell,
TableRow,
TextInput,
Card,
Icon,
Button,
@ -480,7 +481,7 @@ const handleEditSubmit = async (formValues: Record<string, any>) => {
name="team_alias"
rules={[{ required: true, message: 'Please input a team name' }]}
>
<Input />
<TextInput placeholder="" />
</Form.Item>
<Form.Item label="Models" name="models">
<Select2

View file

@ -21,7 +21,8 @@ import {
SelectItem,
Dialog,
DialogPanel,
Icon
Icon,
TextInput,
} from "@tremor/react";
import { userInfoCall, adminTopEndUsersCall } from "./networking";
import { Badge, BadgeDelta, Button } from "@tremor/react";