-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathbell.js
More file actions
32 lines (28 loc) · 744 Bytes
/
bell.js
File metadata and controls
32 lines (28 loc) · 744 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 Bell = 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="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" />
<path d="M13.73 21a2 2 0 0 1-3.46 0" />
</svg>
);
});
Bell.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Bell.displayName = 'Bell';
export default Bell;