({ size = 20 })
| 5 | |
| 6 | const createBrandIcon = (url) => { |
| 7 | const Icon = ({ size = 20 }) => |
| 8 | h('img', { src: url, style: { width: size + 'px', height: size + 'px' } }) |
| 9 | Icon.inheritAttrs = false |
| 10 | return Icon |
| 11 | } |
nothing calls this directly
no outgoing calls
no test coverage detected