react-native-svg
Version:
SVG library for react-native
21 lines • 567 B
TypeScript
import * as React from 'react';
import type { CommonPathProps, NumberProp } from '../lib/extract/types';
import Shape from './Shape';
export interface LineProps extends CommonPathProps {
opacity?: NumberProp;
x1?: NumberProp;
x2?: NumberProp;
y1?: NumberProp;
y2?: NumberProp;
}
export default class Line extends Shape<LineProps> {
static displayName: string;
static defaultProps: {
x1: number;
y1: number;
x2: number;
y2: number;
};
render(): React.JSX.Element;
}
//# sourceMappingURL=Line.d.ts.map