mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
fix(css): box-shadow none handling (#10445)
closes https://github.com/NativeScript/NativeScript/issues/10403
This commit is contained in:
@ -21,6 +21,9 @@ export interface ShadowCSSValues {
|
||||
*/
|
||||
export function parseCSSShadow(value: string): ShadowCSSValues {
|
||||
const data = parseCSSShorthand(value);
|
||||
if (!data) {
|
||||
return null;
|
||||
}
|
||||
const [offsetX, offsetY, blurRadius, spreadRadius] = data.values;
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user