Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
grncdr authored Nov 17, 2017
1 parent 5c813ae commit 96c4226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/knobs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ const value = date(label, defaultValue);
> Note: the default value must not change - e.g., do not do `date('Label', new Date())` or `date('Label')`
The `date` knob returns the selected date as stringified Unix timestamp (e.g. `"1510913096516"`).
If your componentneeds the date in a different form you can wrap the `date` function:
If your component needs the date in a different form you can wrap the `date` function:

```
function myDateKnob(name, defaultValue) {
Expand Down

0 comments on commit 96c4226

Please sign in to comment.