@pinuts/bsr-uikit-relaunch
Version:
BSR UI-KIT Relaunch
50 lines (46 loc) • 2.15 kB
JSX
import * as React from 'react';
import PropTypes from 'prop-types';
import { Icon48PropValues } from '../_defaultIconPropValues.ts';
const Laptop = (props) => {
const {
width = Icon48PropValues.width,
height = Icon48PropValues.height,
fill = Icon48PropValues.fill,
stroke = Icon48PropValues.stroke,
...restProps
} = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 48 48"
width={width}
height={height}
fill="none"
{...restProps}
>
<path
d="M45 31H43V12C43 10.35 41.65 9 40 9H8C6.35 9 5 10.35 5 12V31H3C2.45 31 2 31.45 2 32V36C2 37.65 3.35 39 5 39H43C44.65 39 46 37.65 46 36V32C46 31.45 45.55 31 45 31ZM7 12C7 11.45 7.45 11 8
11H40C40.55 11 41 11.45 41 12V31H30C29.88 31 29.76 31.03 29.65 31.07C29.61 31.08 29.58 31.1 29.55 31.12C29.48 31.16 29.41 31.2 29.35 31.26C29.32 31.29 29.29 31.31 29.27 31.34C29.21 31.4 29.17
31.47 29.13 31.55C29.11 31.58 29.09 31.61 29.08 31.64C29.08 31.65 29.07 31.66 29.06 31.67C28.8 32.42 27.89 33 27 33H21C20.11 33 19.2 32.41 18.94 31.67C18.94 31.66 18.93 31.65 18.92 31.64C18.91
31.61 18.89 31.58 18.87 31.55C18.83 31.47 18.79 31.4 18.73 31.34C18.7 31.31 18.68 31.29 18.65 31.26C18.59 31.21 18.52 31.16 18.45 31.12C18.42 31.1 18.39 31.08 18.35 31.07C18.24 31.03 18.12 31
18 31H7V12ZM44 36C44 36.55 43.55 37 43 37H5C4.45 37 4 36.55 4 36V33H17.38C18.11 34.19 19.53 35 21 35H27C28.48 35 29.89 34.19 30.62 33H44V36Z"
fill={fill}
stroke={stroke}
strokeWidth="0.6"
/>
<path
d="M22 15H26C26.55 15 27 14.55 27 14C27 13.45 26.55 13 26 13H22C21.45 13 21 13.45 21 14C21 14.55 21.45 15 22 15Z"
fill={fill}
stroke={stroke}
strokeWidth="0.6"
/>
</svg>
);
};
Laptop.propTypes = {
width: PropTypes.string,
height: PropTypes.string,
fill: PropTypes.string,
stroke: PropTypes.string,
};
export default Laptop;