Skip to content

Commit

Permalink
Fix typo in Field documentation (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
dremex authored and jaredpalmer committed Jan 8, 2020
1 parent 9c1b0d0 commit fee503e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/field.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Default is `'input'` (so an `<input>` is rendered by default)
<Field name="firstName" as={CustomInputComponent} placeholder="First Name"/>

const CustomInputComponent = (props) => (
<input clasName="my-custom-input" type="text" {...props} />
<input className="my-custom-input" type="text" {...props} />
);
```

Expand Down

1 comment on commit fee503e

@vercel
Copy link

@vercel vercel bot commented on fee503e Jan 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.