({icon, color, size}: {icon: string, color: string, size: string})
| 10 | }, {}) |
| 11 | |
| 12 | function processSVG({icon, color, size}: {icon: string, color: string, size: string}): string { |
| 13 | return icon.replace(/\$size\$/g, size).replace(/\$color\$/g, color) |
| 14 | } |
| 15 | |
| 16 | // The 'input' event listens for text change in the Quick Actions box after a plugin is 'Tabbed' into. |
| 17 | figma.parameters.on('input', ({key, query, parameters, result}: ParameterInputEvent) => { |
no outgoing calls
no test coverage detected