UNPKG

395 BTypeScriptView Raw
1import React from 'react';
2import { View } from 'react-native';
3declare type Props = {
4 colors: number[];
5 locations?: number[] | null;
6 startPoint?: Point | null;
7 endPoint?: Point | null;
8} & React.ComponentProps<typeof View>;
9declare type Point = [number, number];
10export default class NativeLinearGradient extends React.Component<Props> {
11 render(): JSX.Element;
12}
13export {};