decord/source/5734_getShadowStyle.js

22 lines
515 B
JavaScript
Raw Normal View History

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