react-native-drop-shadow
Version:
is a small and simple package that helps make your React Native app
21 lines (20 loc) • 755 B
JavaScript
;
import React from 'react';
import { requireNativeComponent, Platform } from 'react-native';
import { jsx as _jsx } from "react/jsx-runtime";
const NativeShadow = requireNativeComponent('DropShadow');
const LINKING_ERROR = `The package 'react-native-drop-shadow' doesn't seem to be linked. Make sure: \n\n` + Platform.select({
ios: "- You have run 'pod install'\n",
default: ''
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
export class DropShadow extends React.Component {
render() {
if (NativeShadow == null) {
throw new Error(LINKING_ERROR);
}
return /*#__PURE__*/_jsx(NativeShadow, {
...this.props
});
}
}
//# sourceMappingURL=DropShadow.android.js.map