Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
357 B
Text
10 lines
357 B
Text
import { RefObject } from 'react';
|
|
/**
|
|
* creates a Ref object with on change callback
|
|
* @param callback
|
|
* @returns {RefObject}
|
|
*
|
|
* @see {@link useCallbackRef}
|
|
* @see https://reactjs.org/docs/refs-and-the-dom.html#creating-refs
|
|
*/
|
|
export declare function createCallbackRef<T>(callback: (newValue: T | null, lastValue: T | null) => any): RefObject<T>;
|