@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 599 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 GoogleDriveIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M7.71,3.5L1.15,15L4.58,21L11.13,9.5M9.73,15L6.3,21H19.42L22.85,15M22.28,14L15.42,2H8.58L8.57,2L15.43,14H22.28Z' />
</Svg>
)
GoogleDriveIcon.displayName = 'GoogleDriveIcon'
GoogleDriveIcon.defaultProps = {
size: 24
}
export default GoogleDriveIcon