import * as React from 'react';
import PropTypes from 'prop-types';
import Icon40PropValues from '../_defaultIconPropValues.ts';

const LinkedIn = (props) => {
    const {
        width = Icon40PropValues.width,
        height = Icon40PropValues.height,
        fill = Icon40PropValues.fill,
        ...restProps
    } = props;
    delete restProps.stroke;

    return (
        <svg
            xmlns="http://www.w3.org/2000/svg"
            viewBox="0 0 24 24"
            width={width}
            height={height}
            {...restProps}
            fill="none"
        >
            <path
                fill={fill}
                d="M19.885 1h-16c-1.655 0-3 1.345-3 3v16c0 1.655 1.345 3 3 3h16a3 3 0 0 0 3-3V4c0-1.655-1.345-3-3-3M8.38 18.41a.464.464 0 0 1-.465.465H5.94a.46.46 0 0
                1-.465-.465v-8.285c0-.26.205-.465.465-.465h1.975c.26 0 .465.21.465.465zM6.93 8.875A1.876 1.876 0 1 1 8.805 7 1.88 1.88 0 0 1 6.93 8.88m11.785 9.565c0 .235-.19.425-.425.425h-2.13a.425.425 0 0
                1-.425-.425V14.56c0-.58.17-2.54-1.515-2.54-1.305 0-1.575 1.34-1.625 1.945v4.48c0 .23-.19.425-.42.425H10.12a.425.425 0 0 1-.425-.425V10.09c0-.235.19-.425.425-.425h2.055c.235 0
                .425.195.425.425v.72c.485-.73 1.205-1.29 2.74-1.29 3.4 0 3.375 3.17 3.375 4.915l.01 4.005z"
            />
        </svg>
    );
};

LinkedIn.propTypes = {
    width: PropTypes.string,
    height: PropTypes.string,
    fill: PropTypes.string,
    stroke: PropTypes.string,
};
export default LinkedIn;
