@ta-interaktiv/react-annotated-content
Version:
Component to render annotations above other content
26 lines • 879 B
TypeScript
export type ShapeStyle = {
pattern?: 'crossed' | 'hatched' | 'dotted' | 'none';
fill?: string;
stroke?: string;
strokeWidth?: number;
patternWidth?: number;
patternSpace?: number;
patternRotation?: number;
cornerRadius?: number;
};
export type ConnectorSpecs = {
type?: 'straight' | 'curved';
direction?: 'cw' | 'ccw';
width?: number;
markerSize?: number;
stroke?: string;
strokeWidth?: number | string;
strokeOpacity?: number;
strokeLinecap?: 'butt' | 'round' | 'square';
strokeLinejoin?: 'miter' | 'round' | 'bevel';
strokeMiterlimit?: number;
strokeDasharray?: string | number | undefined;
strokeDashoffset?: number | string;
};
export type Direction = 'center' | 'top' | 'top-right' | 'right' | 'bottom-right' | 'bottom' | 'bottom-left' | 'left' | 'top-left';
//# sourceMappingURL=types.d.ts.map