import type { BaseFormBuilderProps, GenericFormElementProps, } from "@components/Form/DynamicForm.js"; import { Generator } from "@components/UI/Generator.js"; import { Controller, type FieldValues } from "react-hook-form"; export interface PasswordGeneratorProps extends BaseFormBuilderProps { type: "passwordGenerator"; devicePSKBitCount: number; } export function PasswordGenerator({ control, field, }: GenericFormElementProps>) { return ( ( )} /> ); }