(docs): create a hooks page for the Checkbox hooks
See original GitHub issueIn the Checkbox documentation there is a section about hooks. This one only mentions useCheckbox
and useCheckboxGroup
but does not give any information on how they should be used or an example.
Here is a link to the section: https://chakra-ui.com/docs/form/checkbox#hooks
They should include the return values, parameters, and at least one usage case as an example.
Moderator note: we should create a new page for the checkbox hooks in the “Hooks” section, but reference it in the Checkbox component page.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:8
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to implement multiple checkbox using react hook
How to implement multiple checkbox using react hook ; React from ; 'react'; const ; Checkbox = ({ type = 'checkbox', name, checked...
Read more >Hooks API Reference - React
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. This page...
Read more >useCheckboxGroup - Refine Dev
useCheckboxGroup hook allows you to manage an Ant Design Checkbox.Group component when records in a resource needs to be used as checkbox ......
Read more >Get Started | React Hook Form - Simple React forms validation
One of the key concepts in React Hook Form is to register your component into the hook. This will make its value available...
Read more >Hooks - Keystone 6 Documentation
This function will be triggered whenever we execute a create , update , or delete mutation in our GraphQL API. It will be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I agree @anubra266. We should put the hooks docs into their own page in the Hooks section, but we can reference that page from the Checkbox page.
Every component in Chakra UI is powered by hooks. Adding them to the doca now is not going to be an easy job. I’m thinking of a separate hooks docs though.