when creating a react component library should you use forwardref code example
Example: Did you mean to use React.forwardRef()?
import {useRef} from 'react';
// hten define the ref
const inputRef = useRef(null);
// then use it in the tag
<section ref={inputRef} >...</section>