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