decord/source/6571_getShadowStyle.js

20 lines
539 B
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6571
// Function ID: 6572
2026-08-06 08:05:19 +00:00
// Name: getShadowStyle
// Dependencies: [17]
// Exports: getShadowStyle
2026-08-24 06:08:38 +00:00
// Module 6571 (getShadowStyle)
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
2026-08-06 08:05:19 +00:00
2026-08-24 06:08:38 +00:00
const Platform = get_ActivityIndicator.Platform;
2026-08-06 08:05:19 +00:00
export const getShadowStyle = function getShadowStyle(color) {
let shadowColor = color.color;
({ offset, radius, opacity } = color);
if (shadowColor === undefined) {
shadowColor = "#000";
}
return { shadowOffset, shadowRadius, shadowColor, shadowOpacity };
};