@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 606 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 AirplaneIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M21,16V14L13,9V3.5C13,2.67 12.33,2 11.5,2C10.67,2 10,2.67 10,3.5V9L2,14V16L10,13.5V19L8,20.5V22L11.5,21L15,22V20.5L13,19V13.5L21,16Z' />
</Svg>
)
AirplaneIcon.displayName = 'AirplaneIcon'
AirplaneIcon.defaultProps = {
size: 24
}
export default AirplaneIcon