import React from 'react'
import styled from 'styled-components'
import { space, color } from 'styled-system'

const Icon = ({
  size,
  ...props
}) => (
  <svg
    {...props}
    viewBox='0 0 24 24'
    width={size}
    height={size}
    fill='currentcolor'
  >
    <path d='M2 22h20V2z M17 7L2 22h15z' />
  </svg>
)

const NetworkCellIcon = styled(Icon)([], space, color)

NetworkCellIcon.displayName = 'NetworkCellIcon'

NetworkCellIcon.defaultProps = {
  size: 24
}

export default NetworkCellIcon