Formatting changes for api docs

This commit is contained in:
Aria Minaei 2021-10-04 10:39:12 +02:00
parent 69c6aa9af2
commit 14173fde0a
14 changed files with 111 additions and 41 deletions

View file

@ -4,6 +4,7 @@ import {useMemo, useState} from 'react'
/**
* Combines useRef() and useState().
*
* @example
* Usage:
* ```ts
* const [ref, val] = useRefAndState<HTMLDivElement | null>(null)