2026-08-15 05:55:55 +00:00
|
|
|
// Module ID: 6540
|
|
|
|
|
// Function ID: 6541
|
2026-08-06 08:05:19 +00:00
|
|
|
// Name: getShadowStyle
|
|
|
|
|
// Dependencies: [17]
|
|
|
|
|
// Exports: getShadowStyle
|
|
|
|
|
|
2026-08-15 05:55:55 +00:00
|
|
|
// Module 6540 (getShadowStyle)
|
2026-08-06 08:05:19 +00:00
|
|
|
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 };
|
|
|
|
|
};
|