@td-design/react-native
Version:
react-native UI组件库
17 lines • 471 B
JavaScript
import React from 'react';
let Shadow;
let ShadowProps;
try {
({
Shadow,
ShadowProps
} = require('react-native-shadow-2'));
} catch (error) {
throw new Error('The dependency "react-native-shadow-2" is not installed. Please install it to use the BoxShadow component.');
}
const BoxShadow = props => {
return /*#__PURE__*/React.createElement(Shadow, props);
};
BoxShadow.displayName = 'BoxShadow';
export default BoxShadow;
//# sourceMappingURL=index.js.map