docs: update code example
I found that errors are thrown if we render the component without the generateConfig and locale props, so I added them to the example code to make it clearer.
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
π Inspect: https://vercel.com/react-component/picker/ATEEbH11KrsNeWyxRkBgpqUyoi3x
β
Preview: https://picker-git-fork-mt9eet-patch-1-react-component.vercel.app
Codecov Report
Merging #240 (e5a6145) into master (8bc4cce) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #240 +/- ##
=======================================
Coverage 99.52% 99.52%
=======================================
Files 45 45
Lines 2113 2113
Branches 622 622
=======================================
Hits 2103 2103
Misses 8 8
Partials 2 2
Continue to review full report at Codecov.
Legend - Click here to learn more
Ξ = absolute <relative> (impact),ΓΈ = not affected,? = missing dataPowered by Codecov. Last update 8bc4cce...e5a6145. Read the comment docs.