Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Minor typo in README
Browse files Browse the repository at this point in the history
Fix missing capitalization for type `ColorInput`
  • Loading branch information
jonrose-dev authored Jul 5, 2021
1 parent 105f43b commit 1db23cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ All the functions and types that power the hook are exported. Detailed documenta
import { parseColor } from 'use-color/parser'
import { ColorInput } from 'use-color/types/ColorInput'

const givenColor: colorInput = 'rgb(34, 114, 235)'
const givenColor: ColorInput = 'rgb(34, 114, 235)'
const color = parseColor(givenColor)
```

Expand Down

0 comments on commit 1db23cf

Please sign in to comment.