This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ApplicationRef, ComponentRef, createComponent, Type } from "@angular/core"; | |
| import { createApplication } from "@angular/platform-browser"; | |
| import React, { useEffect, useRef, useState } from "react"; | |
| type AnyComponentRef = ComponentRef<unknown>; | |
| export type ReactifyProps = { | |
| component: Type<unknown>; | |
| inputs?: Record<string, unknown>; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client' | |
| import * as React from 'react' | |
| import { EyeIcon, EyeOffIcon } from 'lucide-react' | |
| import { Button } from '@/components/ui/button' | |
| import { Input, type InputProps } from '@/components/ui/input' | |
| import { cn } from '@/lib/utils' | |
| const PasswordInput = React.forwardRef<HTMLInputElement, InputProps>(({ className, ...props }, ref) => { |
OlderNewer