mirror of
https://github.com/status-im/react-native-linear-gradient.git
synced 2025-02-02 10:55:43 +00:00
15 lines
438 B
TypeScript
15 lines
438 B
TypeScript
|
import * as React from "react";
|
||
|
import * as ReactNative from "react-native";
|
||
|
|
||
|
declare module "react-native-linear-gradient" {
|
||
|
|
||
|
interface LinearGradientProps extends ReactNative.ViewProperties {
|
||
|
colors: string[],
|
||
|
start?: { x: number, y: number },
|
||
|
end?: { x: number, y: number },
|
||
|
locations?: number[]
|
||
|
}
|
||
|
|
||
|
export default class LinearGradient extends React.Component<LinearGradientProps, any> { }
|
||
|
}
|