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

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

    return (
        <svg
            xmlns="http://www.w3.org/2000/svg"
            width={width}
            height={height}
            {...restProps}
            viewBox="0 0 48 48"
            fill="none"
        >
            <path
                d="M43 15.5H16C15.17 15.5 14.5 14.83 14.5 14C14.5 13.17 15.17 12.5 16 12.5H43C43.83 12.5 44.5 13.17 44.5 14C44.5 14.83 43.83 15.5 43 15.5Z"
                fill={fill}
                stroke={stroke}
            />
            <path
                d="M43 25.5H16C15.17 25.5 14.5 24.83 14.5 24C14.5 23.17 15.17 22.5 16 22.5H43C43.83 22.5 44.5 23.17 44.5 24C44.5 24.83 43.83 25.5 43 25.5Z"
                fill={fill}
                stroke={stroke}
            />
            <path
                d="M43 35.5H16C15.17 35.5 14.5 34.83 14.5 34C14.5 33.17 15.17 32.5 16 32.5H43C43.83 32.5 44.5 33.17 44.5 34C44.5 34.83 43.83 35.5 43 35.5Z"
                fill={fill}
                stroke={stroke}
            />
            <path
                d="M7 17C5.3425 17 4 15.6575 4 14C4 12.3425 5.3425 11 7 11C8.6575 11 10 12.3425 10 14C10 15.6575 8.6575 17 7 17Z"
                fill={fill}
            />
            <path
                d="M7 27C5.3425 27 4 25.6575 4 24C4 22.3425 5.3425 21 7 21C8.6575 21 10 22.3425 10 24C10 25.6575 8.6575 27 7 27Z"
                fill={fill}
            />
            <path
                d="M7 37C5.3425 37 4 35.6575 4 34C4 32.3425 5.3425 31 7 31C8.6575 31 10 32.3425 10 34C10 35.6575 8.6575 37 7 37Z"
                fill={fill}
            />
        </svg>
    );
};

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