import React from 'react'; import { View } from 'react-native'; import { requireNativeViewManager } from '@unimodules/core'; type Props = { colors: number[]; locations?: number[] | null; startPoint?: Point | null; endPoint?: Point | null; } & React.ComponentProps; type Point = [number, number]; export default class NativeLinearGradient extends React.PureComponent { render() { return ; } } const BaseNativeLinearGradient = requireNativeViewManager('ExpoLinearGradient');