diff --git a/packages/example/src/lib/TextInput.tsx b/packages/example/src/lib/TextInput.tsx new file mode 100644 index 0000000..bd232d8 --- /dev/null +++ b/packages/example/src/lib/TextInput.tsx @@ -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 extends Hooks.useInput.Options, TextField.RootProps {} +} + +export class TextInput extends Component.make(function* TextInput(props: TextInput.Props) { + return <> +}) {}