Rocky_Mountain_Vending/.pnpm-store/v10/files/ed/fa7da0eefdba1254afe959359d1ab637bc7999d3953adf6dc48144ed94005b7226ee106b309c40cbe21c6a37accc5ee4fcfc92bd381069759fad3dd7a473fb
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

30 lines
1.2 KiB
Text

/**
* @fileOverview Curve
*/
import * as React from 'react';
import { CurveFactory } from 'victory-vendor/d3-shape';
import { LayoutType, PresentationAttributesWithProps } from '../util/types';
export type CurveType = 'basis' | 'basisClosed' | 'basisOpen' | 'bumpX' | 'bumpY' | 'bump' | 'linear' | 'linearClosed' | 'natural' | 'monotoneX' | 'monotoneY' | 'monotone' | 'step' | 'stepBefore' | 'stepAfter' | CurveFactory;
export interface Point {
x: number;
y: number;
}
interface CurveProps {
className?: string;
type?: CurveType;
layout?: LayoutType;
baseLine?: number | Array<Point>;
points?: Array<Point>;
connectNulls?: boolean;
path?: string;
pathRef?: (ref: SVGPathElement) => void;
}
export type Props = Omit<PresentationAttributesWithProps<CurveProps, SVGPathElement>, 'type' | 'points'> & CurveProps;
type GetPathProps = Pick<Props, 'type' | 'points' | 'baseLine' | 'layout' | 'connectNulls'>;
/**
* Calculate the path of curve. Returns null if points is an empty array.
* @return path or null
*/
export declare const getPath: ({ type, points, baseLine, layout, connectNulls, }: GetPathProps) => string | null;
export declare const Curve: React.FC<Props>;
export {};