@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 536 B
JavaScript
import React from 'react'
import styled from 'styled-components'
import { space, color } from 'styled-system'
const Svg = styled('svg')({ flex: 'none' }, space, color)
const TerrainIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M14,6L10.25,11L13.1,14.8L11.5,16C9.81,13.75 7,10 7,10L1,18H23L14,6Z' />
</Svg>
)
TerrainIcon.displayName = 'TerrainIcon'
TerrainIcon.defaultProps = {
size: 24
}
export default TerrainIcon