import { useState } from '@wordpress/element'; import { Button, __experimentalInputControl as InputControl, __experimentalInputControlSuffixWrapper as InputControlSuffixWrapper, } from '@wordpress/components'; import { SVG, Path } from '@wordpress/primitives'; type PasswordInputProps = { label: string; value: string; onChange: (value: string) => void; [key: string]: any; }; export const PasswordInput = ({ label, value, onChange, ...rest }: PasswordInputProps) => { const [showPassword, setShowPassword] = useState(false); return (