12
packages/example/src/lib/TextInput.tsx
Normal file
12
packages/example/src/lib/TextInput.tsx
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import { TextField } from "@radix-ui/themes"
|
||||||
|
import { Component } from "effect-fc"
|
||||||
|
import { Hooks } from "effect-fc/hooks"
|
||||||
|
|
||||||
|
|
||||||
|
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>) {
|
||||||
|
return <></>
|
||||||
|
}) {}
|
||||||
Reference in New Issue
Block a user