import { LinearGradient, Path, vec } from '@shopify/react-native-skia'; import { useChart } from '../LineChartContext'; export interface IProps { strokeWidth?: number; colors?: string[]; } export type LineChartLinePropsInterface = IProps; /** * Draws the main trend line. */ const ChartLine: React.FC = ({ strokeWidth = 3, colors }) => { const { path, height, gradientPositions } = useChart(); const defaultColors = ['#00E396', '#00E396', '#EA3943', '#EA3943']; return ( ); }; export default ChartLine;