Fix
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-08-07 05:18:21 +02:00
parent d38a5a4afd
commit f8b356ef39
2 changed files with 7 additions and 3 deletions

View File

@@ -1,12 +1,16 @@
import { TextField } from "@radix-ui/themes"
import { Effect } from "effect"
import { Component } from "effect-fc"
import { Hooks } from "effect-fc/hooks"
import { JSX } from "react"
export namespace TextInput {
export interface Props<A, R> extends Hooks.useInput.Options<A, R>, TextField.RootProps {}
}
export class TextInput extends Component.make(function* TextInput(props: TextInput.Props<A, R>) {
export class TextInput extends Component.make(Effect.fnUntraced(function* TextInput <A, R>(props: TextInput.Props<A, R>) {
return <></>
}) {}
})).pipe(
Component.withFunctionComponentSignature<<A, R>(props: TextInput.Props<A, R>) => JSX.Element>()
) {}