33 lines
2.4 KiB
TypeScript
33 lines
2.4 KiB
TypeScript
/* eslint-disable functional/no-class */
|
|
/* eslint-disable functional/no-this-expression */
|
|
import { IconProps } from './IconProps'
|
|
|
|
import React from 'react'
|
|
|
|
export class LibraryIcon extends React.Component<IconProps> {
|
|
render() {
|
|
const color = (this.props.color || '#2A2A2A').toString()
|
|
|
|
return (
|
|
<svg
|
|
width="24"
|
|
height="24"
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<g>
|
|
<path
|
|
d="M12.4944 6.05859H6.74445C5.98195 6.05859 5.25068 6.36149 4.71151 6.90066C4.17235 7.43983 3.86945 8.1711 3.86945 8.93359V20.4336L3.8752 20.5428C3.89354 20.7021 3.95153 20.8542 4.04386 20.9852C4.13618 21.1162 4.2599 21.222 4.40368 21.2928C4.54746 21.3637 4.70671 21.3973 4.86685 21.3907C5.027 21.3841 5.18293 21.3374 5.32036 21.2549L9.61945 18.676L13.9185 21.2549C14.0639 21.342 14.2298 21.389 14.3992 21.3911C14.5687 21.3932 14.7357 21.3503 14.8832 21.2668C15.0307 21.1833 15.1534 21.0622 15.2388 20.9159C15.3242 20.7695 15.3693 20.6031 15.3694 20.4336V8.93359C15.3694 8.1711 15.0665 7.43983 14.5274 6.90066C13.9882 6.36149 13.2569 6.05859 12.4944 6.05859Z"
|
|
fill={color}
|
|
/>
|
|
<path
|
|
d="M16.3278 2.22534C17.0611 2.2253 17.7667 2.50549 18.3003 3.00857C18.8338 3.51166 19.155 4.19961 19.198 4.93168L19.2028 5.10034V16.6003C19.2028 16.7606 19.1627 16.9184 19.086 17.0592C19.0093 17.1999 18.8985 17.3192 18.7638 17.406C18.629 17.4929 18.4747 17.5446 18.3148 17.5563C18.1549 17.5681 17.9947 17.5396 17.8487 17.4734L17.7519 17.4216L16.7935 16.8466C16.6157 16.7398 16.4773 16.5782 16.3991 16.3861C16.321 16.1939 16.3073 15.9816 16.3601 15.781C16.4129 15.5804 16.5294 15.4023 16.6921 15.2736C16.8548 15.1448 17.0548 15.0724 17.2622 15.067L17.2861 15.068V5.10034C17.2861 4.86561 17.1999 4.63906 17.0439 4.46365C16.888 4.28824 16.673 4.17618 16.4399 4.14872L16.3278 4.14201H10.5768C10.4275 4.14167 10.2801 4.17624 10.1465 4.24297C10.0129 4.30969 9.89675 4.40671 9.8073 4.5263L9.68271 4.71509C9.53552 4.90816 9.32053 5.03816 9.08118 5.07884C8.84183 5.11951 8.59596 5.06783 8.39325 4.93423C8.19053 4.80063 8.04608 4.59507 7.98908 4.35907C7.93207 4.12308 7.96676 3.87425 8.08613 3.66284C8.32231 3.25355 8.65574 2.90879 9.05691 2.65906C9.45808 2.40934 9.91462 2.26234 10.3861 2.23109L10.5778 2.22534H16.3278Z"
|
|
fill={color}
|
|
/>
|
|
</g>
|
|
</svg>
|
|
)
|
|
}
|
|
}
|