UNPKG

@cs-open/react-fabric

Version:
13 lines 657 B
import type { Group as BaseGroup } from 'fabric'; import { Line as BaseLine } from 'fabric'; import { type ReactNode } from 'react'; import type { AllObjectEvents } from '../../types/object'; export type Handle = BaseLine | undefined; export type LineProps<T = unknown> = Partial<ConstructorParameters<typeof BaseLine>[1] & AllObjectEvents> & { group?: BaseGroup; path?: string; children?: ReactNode; } & T; declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<LineProps<unknown>, "ref"> & import("react").RefAttributes<Handle>>>; export default _default; //# sourceMappingURL=index.d.ts.map