@lessondesk/material-icons
Version:
Material Icon SVGs as React Components
28 lines (23 loc) • 581 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 MusicNoteIcon = ({
size,
...props
}) => (
<Svg
{...props}
viewBox='0 0 24 24'
width={size}
height={size}
fill='currentcolor'
>
<path d='M12,3V12.26C11.5,12.09 11,12 10.5,12C8,12 6,14 6,16.5C6,19 8,21 10.5,21C13,21 15,19 15,16.5V6H19V3H12Z' />
</Svg>
)
MusicNoteIcon.displayName = 'MusicNoteIcon'
MusicNoteIcon.defaultProps = {
size: 24
}
export default MusicNoteIcon