(node: SceneNode)
| 50 | ); |
| 51 | |
| 52 | export const isSVGNode = (node: SceneNode) => { |
| 53 | const altNode = node as AltNode<typeof node>; |
| 54 | return altNode.canBeFlattened; |
| 55 | }; |
| 56 | |
| 57 | export const renderAndAttachSVG = async (node: any) => { |
| 58 | if (node.canBeFlattened) { |
nothing calls this directly
no outgoing calls
no test coverage detected