Skip to content

Commit 3f21321

Browse files
authored
Updated broken pattern prop in example
1 parent 04a3c19 commit 3f21321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const MyForm = () => (
5858
required
5959
maxLength={20}
6060
tooLong="That name is too long!"
61-
pattern={/}
61+
pattern="[A-Z].+"
6262
/>
6363
</div>
6464
...

0 commit comments

Comments
 (0)