19 lines
539 B
JavaScript
19 lines
539 B
JavaScript
// Module ID: 6571
|
|
// Function ID: 6572
|
|
// Name: getShadowStyle
|
|
// Dependencies: [17]
|
|
// Exports: getShadowStyle
|
|
|
|
// Module 6571 (getShadowStyle)
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
|
|
const Platform = get_ActivityIndicator.Platform;
|
|
|
|
export const getShadowStyle = function getShadowStyle(color) {
|
|
let shadowColor = color.color;
|
|
({ offset, radius, opacity } = color);
|
|
if (shadowColor === undefined) {
|
|
shadowColor = "#000";
|
|
}
|
|
return { shadowOffset, shadowRadius, shadowColor, shadowOpacity };
|
|
};
|