@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 608 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 LogoutIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M16,17V14H9V10H16V7L21,12L16,17M14,2C15.1,2 16,2.9 16,4V6H14V4H5V20H14V18H16V20C16,21.1 15.1,22 14,22H5C3.9,22 3,21.1 3,20V4C3,2.9 3.9,2 5,2H14Z' />
</Svg>
)
LogoutIcon.displayName = 'LogoutIcon'
LogoutIcon.defaultProps = {
size: 24
}
export default LogoutIcon