Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iyegoroff authored Feb 2, 2018
1 parent 5fee767 commit fd08c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/typescript-example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { DebounceInput, DebounceTextArea, Debounced } from "../src/index";

// - usage with 'textarea':

// DebounceTextArea is just a type, so it should explicitly defined as value
// DebounceTextArea is just a type, so it should be explicitly defined as value
const DebounceTextArea: DebounceTextArea = DebounceInput;

<DebounceTextArea
Expand Down Expand Up @@ -38,4 +38,4 @@ import { DebounceInput, DebounceTextArea, Debounced } from "../src/index";
myInvalidCustomProp={2} // Error, there is no myInvalidCustomProp in MyComponentProps
onChange={(e: React.ChangeEvent<MyComponent>) => {}}
/>


0 comments on commit fd08c45

Please sign in to comment.