-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathbook-open.js
More file actions
32 lines (28 loc) · 777 Bytes
/
book-open.js
File metadata and controls
32 lines (28 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';
const BookOpen = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => {
return (
<svg
ref={ref}
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...rest}
>
<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z" />
<path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z" />
</svg>
);
});
BookOpen.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
BookOpen.displayName = 'BookOpen';
export default BookOpen;