mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
feat(ui): onboarding/OnboardingFormBody Input to shadcn
- antd Input (email) \u2192 shadcn Input. AntInput.Password kept for the password field's built-in eye toggle. Gates: TS \u2713 | Build \u2713. Co-authored-by: yuneng-jiang <yuneng-berri@users.noreply.github.com>
This commit is contained in:
parent
45daa53b63
commit
6c172183ed
1 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
import React from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Card } from "@/components/ui/card";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Info } from "lucide-react";
|
||||
import { Form, Input } from "antd";
|
||||
import { Form, Input as AntInput } from "antd";
|
||||
|
||||
type OnboardingFormBodyProps = {
|
||||
variant: "signup" | "reset_password";
|
||||
|
|
@ -83,7 +84,7 @@ export function OnboardingFormBody({
|
|||
: "Create a password for your account"
|
||||
}
|
||||
>
|
||||
<Input.Password />
|
||||
<AntInput.Password />
|
||||
</Form.Item>
|
||||
|
||||
{claimError && (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue