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
389 B
Text
10 lines
389 B
Text
import * as React from 'react';
|
|
|
|
type UseControllableStateParams<T> = {
|
|
prop?: T | undefined;
|
|
defaultProp?: T | undefined;
|
|
onChange?: (state: T) => void;
|
|
};
|
|
declare function useControllableState<T>({ prop, defaultProp, onChange, }: UseControllableStateParams<T>): readonly [T | undefined, React.Dispatch<React.SetStateAction<T | undefined>>];
|
|
|
|
export { useControllableState };
|