(props: Record<string, string>)
| 103 | }; |
| 104 | |
| 105 | const hasEmptyProps = (props: Record<string, string>): boolean => { |
| 106 | let isEmpty = true; |
| 107 | for (const key in props) { |
| 108 | const value = props[key]; |
| 109 | const defValue = value.length > 0 ? "0" : ""; |
| 110 | isEmpty = isEmpty && skipDefaultProperty(value, defValue).length == 0; |
| 111 | } |
| 112 | return isEmpty; |
| 113 | } |
| 114 | |
| 115 | const getDecoration = (node: SceneNode): string => { |
| 116 | if (!("fills" in node)) { |
no test coverage detected