import { h , FunctionalComponent } from 'preact' ; import { FeatherProps } from '../types' ; export const Layers = ( 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 } > < polygon points = "12 2 2 7 12 12 22 7 12 2" > < /polygon> < polyline points = "2 17 12 22 22 17" > < /polyline> < polyline points = "2 12 12 17 22 12" > < /polyline> < /svg>); } ;