Skip to content

Commit

Permalink
docs: rephrase example
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Jun 2, 2021
1 parent 90af905 commit bbaae32
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/useValidator/__docs__/example.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ export const ExampleStories: React.FC = () => {

return (
<div>
<div>
In case below input has an odd number of characters - it is valid, otherwise, the error
message is shown
</div>
<div>The input below is only valid if it has an odd number of characters</div>
<br />

{validity.isValid === false && <div style={{ color: 'red' }}>{validity.error?.message}</div>}
Expand Down

0 comments on commit bbaae32

Please sign in to comment.