Template for Hook document
useHook - description for your custom hook.
Usage
Example usage of the custom hook
function ExampleComponent(props: any) {
// Your code that implement custom hook
return <div>Your component</div>
}
API
useHook(
param1,param2):return type
Parameters
| Name | Type | Description |
|---|---|---|
| param1 | typeof param1 | Description of param1. |
| param2 | typeof param2 | Description of param2. |
Returns
return type
Hook
// Code of custom hook