import { h , FunctionalComponent } from 'preact' ; import { FeatherProps } from '../types' ; export const Truck = ( props ) => { const color = props . color || 'currentColor' ; const size = props . size || 24 ; delete props . color ; delete props . size ; return ( < svg xmlns = "http://www.w3.org/2000/svg" width = { size } height = { size } viewBox = "0 0 24 24" fill = "none" stroke = { color } stroke - width = "2" stroke - linecap = "round" stroke - linejoin = "round" { ... props } > < rect x = "1" y = "3" width = "15" height = "13" > < /rect> < polygon points = "16 8 20 8 23 11 23 16 16 16 16 8" > < /polygon> < circle cx = "5.5" cy = "18.5" r = "2.5" > < /circle> < circle cx = "18.5" cy = "18.5" r = "2.5" > < /circle> < /svg>); } ;