UNPKG

@reactflow/background

Version:

Background component with different variants for React Flow

18 lines 433 B
import { CSSProperties } from 'react'; export declare enum BackgroundVariant { Lines = "lines", Dots = "dots", Cross = "cross" } export type BackgroundProps = { id?: string; color?: string; className?: string; gap?: number | [number, number]; size?: number; offset?: number; lineWidth?: number; variant?: BackgroundVariant; style?: CSSProperties; }; //# sourceMappingURL=types.d.ts.map