Rocky_Mountain_Vending/.pnpm-store/v10/files/8d/96a3dfc31b9811d2975af3d2888ff003b615cc24a6a208c522397f0e5694c1584a4ecd144e7306ca8a38e06ff5523623940ff1a053e39bbbfd353b084db01e
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

39 lines
1.6 KiB
Text

/**
* @fileOverview Default Tooltip Content
*/
import React, { CSSProperties, ReactNode, SVGProps } from 'react';
export type TooltipType = 'none';
export type ValueType = number | string | Array<number | string>;
export type NameType = number | string;
export type Formatter<TValue extends ValueType, TName extends NameType> = (value: TValue, name: TName, item: Payload<TValue, TName>, index: number, payload: Array<Payload<TValue, TName>>) => [React.ReactNode, TName] | React.ReactNode;
export interface Payload<TValue extends ValueType, TName extends NameType> extends Omit<SVGProps<SVGElement>, 'name'> {
type?: TooltipType;
color?: string;
formatter?: Formatter<TValue, TName>;
name?: TName;
value?: TValue;
unit?: ReactNode;
dataKey?: string | number;
payload?: any;
chartType?: string;
stroke?: string;
strokeDasharray?: string | number;
strokeWidth?: number | string;
className?: string;
hide?: boolean;
}
export interface Props<TValue extends ValueType, TName extends NameType> {
separator?: string;
wrapperClassName?: string;
labelClassName?: string;
formatter?: Formatter<TValue, TName>;
contentStyle?: CSSProperties;
itemStyle?: CSSProperties;
labelStyle?: CSSProperties;
labelFormatter?: (label: any, payload: Array<Payload<TValue, TName>>) => ReactNode;
label?: any;
payload?: Array<Payload<TValue, TName>>;
itemSorter?: (item: Payload<TValue, TName>) => number | string;
accessibilityLayer?: boolean;
}
export declare const DefaultTooltipContent: <TValue extends ValueType, TName extends NameType>(props: Props<TValue, TName>) => React.JSX.Element;