(prefix: string, type: string, output: JSXOutputState)
| 199 | dynamicAttributes.push(attribute); |
| 200 | } else if (attribute.name?.[0] === '$' && jsxNodeKind === JSXNodeKind.component) { |
| 201 | injectedAttributes.push(attribute); |
| 202 | } else if (attribute.value.kind === JSXAttributeValueKind.static && !foundSpread) { |
| 203 | staticAttributes.push(createStringLiteral(attribute.name!, transformContext)); |
| 204 | staticAttributes.push(attribute.value.value); |
| 205 | } else { |
| 206 | dynamicAttributes.push(attribute); |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | let staticAttributesLiteral: ts.Expression | undefined; |
| 211 | if (staticAttributes.length) { |
no test coverage detected