UNPKG

1.01 kBSource Map (JSON)View Raw
1{"version":3,"file":"NativeLinearGradient.ios.js","sourceRoot":"","sources":["../src/NativeLinearGradient.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAW5D,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,KAAK,CAAC,aAAoB;IAC1E,MAAM;QACJ,OAAO,CAAC,wBAAwB,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,EAAG,CAAC;IACtD,CAAC;CACF;AAED,MAAM,wBAAwB,GAAG,wBAAwB,CAAC,oBAAoB,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { View } from 'react-native';\nimport { requireNativeViewManager } from '@unimodules/core';\n\ntype Props = {\n colors: number[];\n locations?: number[] | null;\n startPoint?: Point | null;\n endPoint?: Point | null;\n} & React.ComponentProps<typeof View>;\n\ntype Point = [number, number];\n\nexport default class NativeLinearGradient extends React.PureComponent<Props> {\n render() {\n return <BaseNativeLinearGradient {...this.props} />;\n }\n}\n\nconst BaseNativeLinearGradient = requireNativeViewManager('ExpoLinearGradient');\n"]}
\No newline at end of file