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>
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
import React, { ReactElement, SVGProps } from 'react';
|
|
import { ContentType, Props as LabelProps, LabelPosition } from './Label';
|
|
import { DataKey, ViewBox } from '../util/types';
|
|
interface Data {
|
|
value?: number | string | Array<number | string>;
|
|
payload?: any;
|
|
parentViewBox?: ViewBox;
|
|
}
|
|
interface LabelListProps<T extends Data> {
|
|
id?: string;
|
|
data?: Array<T>;
|
|
valueAccessor?: Function;
|
|
clockWise?: boolean;
|
|
dataKey?: DataKey<Record<string, any>>;
|
|
content?: ContentType;
|
|
textBreakAll?: boolean;
|
|
position?: LabelPosition;
|
|
offset?: LabelProps['offset'];
|
|
angle?: number;
|
|
formatter?: Function;
|
|
}
|
|
export type Props<T extends Data> = SVGProps<SVGTextElement> & LabelListProps<T>;
|
|
export type ImplicitLabelListType<T extends Data> = boolean | ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>) | Props<T>;
|
|
export declare function LabelList<T extends Data>({ valueAccessor, ...restProps }: Props<T>): React.JSX.Element;
|
|
export declare namespace LabelList {
|
|
var displayName: string;
|
|
var renderCallByParent: <T extends Data>(parentProps: {
|
|
children?: React.ReactNode;
|
|
label?: unknown;
|
|
}, data: T[], checkPropsLabel?: boolean) => React.JSX.Element[];
|
|
}
|
|
export {};
|