type
WithElementRef
type WithElementRef<T, U extends HTMLElement = HTMLElement> = T & {
ref?: U | null;
}Add an optional bindable element ref to component props.
type
type WithElementRef<T, U extends HTMLElement = HTMLElement> = T & {
ref?: U | null;
}Add an optional bindable element ref to component props.