react-native-svg
Version:
SVG library for react-native
31 lines • 923 B
TypeScript
import type { ReactNode } from 'react';
import * as React from 'react';
import type { NumberProp } from '../lib/extract/types';
import Shape from './Shape';
export type MarkerUnits = 'strokeWidth' | 'userSpaceOnUse';
export type Orient = 'auto' | 'auto-start-reverse';
export interface MarkerProps {
children?: ReactNode;
id?: string;
viewBox?: string;
preserveAspectRatio?: string;
refX?: NumberProp;
refY?: NumberProp;
markerWidth?: NumberProp;
markerHeight?: NumberProp;
markerUnits?: MarkerUnits;
orient?: Orient | NumberProp;
}
export default class Marker extends Shape<MarkerProps> {
static displayName: string;
static defaultProps: {
refX: number;
refY: number;
orient: string;
markerWidth: number;
markerHeight: number;
markerUnits: string;
};
render(): React.JSX.Element;
}
//# sourceMappingURL=Marker.d.ts.map