Rocky_Mountain_Vending/.pnpm-store/v10/files/38/5a07ef075ffa9b106e3234c3b1624e536a33d88afc6645501fc84df622832e68b99e13518199ae4bdf40a9e8f99b9c9b9113b528a5743dc112be5751c9348d
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

59 lines
1.5 KiB
Text

/**
* @fileOverview Legend
*/
import React, { PureComponent, CSSProperties } from 'react';
import { Payload, Props as DefaultProps } from './DefaultLegendContent';
import { LayoutType } from '../util/types';
import { UniqueOption } from '../util/payload/getUniqPayload';
export type Props = DefaultProps & {
wrapperStyle?: CSSProperties;
chartWidth?: number;
chartHeight?: number;
width?: number;
height?: number;
margin?: {
top?: number;
left?: number;
bottom?: number;
right?: number;
};
payloadUniqBy?: UniqueOption<Payload>;
onBBoxUpdate?: (box: DOMRect | null) => void;
};
interface State {
boxWidth: number;
boxHeight: number;
}
export declare class Legend extends PureComponent<Props, State> {
static displayName: string;
static defaultProps: {
iconSize: number;
layout: string;
align: string;
verticalAlign: string;
};
private wrapperNode;
static getWithHeight(item: {
props: {
layout?: LayoutType;
height?: number;
width?: number;
};
}, chartWidth: number): null | {
height: number;
} | {
width: number;
};
lastBoundingBox: {
width: number;
height: number;
};
componentDidMount(): void;
componentDidUpdate(): void;
getBBox(): DOMRect;
private updateBBox;
private getBBoxSnapshot;
private getDefaultPosition;
render(): React.JSX.Element;
}
export {};