Installation
npm install --save @types/react-native-svg-animated-linear-gradient
Summary
This package contains type definitions for react-native-svg-animated-linear-gradient (https://github.com/FullstackStation/react-native-svg-animated-linear-gradient).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-svg-animated-linear-gradient.
index.d.ts
import * as React from "react";
export interface GradientProps {
primaryColor?: string | undefined;
secondaryColor?: string | undefined;
duration?: number | undefined;
width?: number | string | undefined;
height?: number | string | undefined;
x1?: string | undefined;
y1?: string | undefined;
x2?: string | undefined;
y2?: string | undefined;
useNativeDriver?: boolean | undefined;
}
export default class SvgAnimatedLinearGradient extends React.Component<GradientProps> {}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Federico Grandi.