UNPKG

react-native-painter

Version:
20 lines (15 loc) 474 B
# Line ```JS import { Line } from 'react-native-painter' <Painter style={styles.Painter} > <Line /> </Painter> ``` ## Props | Name | description | type | default | | --- | --- | --- | --- | | x1 | the start of the line on the x-axis. | Number | 0 | | y1 | the start of the line on the y-axis. | Number | 0 | | x2 | the end of the line on the x-axis. | Number | 0 | | y2 | the end of the line on the y-axis. | Number | 0 |