Skip to content

Commit fc298e8

Browse files
committed
Demo gifs
1 parent aec58d9 commit fc298e8

File tree

4 files changed

+1
-2
lines changed

4 files changed

+1
-2
lines changed

docs/images/demo-custom.gif

335 KB
Loading

docs/images/demo-example.gif

95 KB
Loading

docs/images/demo-objectfield.gif

203 KB
Loading

testing/src/Fieldform.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useRef } from "react";
2-
import { useForm, Field, AnyListener } from "typed-react-form";
2+
import { useForm, Field, AnyListener, ObjectField } from "typed-react-form";
33

44
const inputStyle: React.CSSProperties = {
55
color: "gray",
@@ -22,7 +22,6 @@ export function FieldForm() {
2222
return (
2323
<form onSubmit={form.handleSubmit(submit)}>
2424
<Field form={form} name="firstName" as={CustomInput} myCustomProp={true} />
25-
<Field form={form} name="lastName" as={CustomInput} />
2625
<Field form={form} name="firstName" innerRef={inputRef} />
2726
<button type="submit">Go</button>
2827
<button

0 commit comments

Comments
 (0)