Skip to content

Commit

Permalink
commented error in example
Browse files Browse the repository at this point in the history
  • Loading branch information
iyegoroff committed Feb 3, 2018
1 parent 5fee767 commit 62a7368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/typescript-example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { DebounceInput, DebounceTextArea, Debounced } from "../src/index";
<DebouncedMyComponent
element={MyComponent}
myCustomProp={1} // OK, myCustomProp will be passed down to MyComponent
myInvalidCustomProp={2} // Error, there is no myInvalidCustomProp in MyComponentProps
// myInvalidCustomProp={2} // Error, there is no myInvalidCustomProp in MyComponentProps
onChange={(e: React.ChangeEvent<MyComponent>) => {}}
/>

0 comments on commit 62a7368

Please sign in to comment.