@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
14 lines (13 loc) • 403 B
TypeScript
type RowChangedParams = {
index: number;
setRowHeight: (index: number, size?: number) => void;
delay?: number;
};
/**
* A hook to calculate the height of virtual list item.
*/
export declare const useRowChanged: ({ index, setRowHeight, delay }: RowChangedParams) => {
rowRef: import("react").MutableRefObject<HTMLElement | undefined>;
calculateRowHeight: () => void;
};
export {};