const EyeSlashFilledIcon = `export const EyeSlashFilledIcon = (props) => ( );`; const EyeFilledIcon = `export const EyeFilledIcon = (props) => ( );`; const App = `import {Input} from "@nextui-org/react"; import {EyeFilledIcon} from "./EyeFilledIcon"; import {EyeSlashFilledIcon} from "./EyeSlashFilledIcon"; export default function App() { const [isVisible, setIsVisible] = React.useState(false); const toggleVisibility = () => setIsVisible(!isVisible); return ( {isVisible ? ( ) : ( )} } type={isVisible ? "text" : "password"} className="max-w-xs" /> ); }`; const react = { "/App.jsx": App, "/EyeSlashFilledIcon.jsx": EyeSlashFilledIcon, "/EyeFilledIcon.jsx": EyeFilledIcon, }; export default { ...react, };