1 | import React, { FunctionComponent } from 'react';
|
2 | import { View } from 'react-native';
|
3 | declare type Props = {
|
4 | colors: number[];
|
5 | locations?: number[] | null;
|
6 | startPoint?: Point | null;
|
7 | endPoint?: Point | null;
|
8 | onLayout?: Function;
|
9 | } & React.ComponentProps<typeof View>;
|
10 | declare type Point = [number, number];
|
11 | declare const NativeLinearGradient: FunctionComponent<Props>;
|
12 | export default NativeLinearGradient;
|