appbaseio/dejaVu

View on GitHub
packages/browser/src/components/Icons/Hash.js

Summary

Maintainability
A
2 hrs
Test Coverage
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';

const Hash = forwardRef(
    ({ color = 'currentColor', size = 24, ...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}
            >
                <line x1="4" y1="9" x2="20" y2="9" />
                <line x1="4" y1="15" x2="20" y2="15" />
                <line x1="10" y1="3" x2="8" y2="21" />
                <line x1="16" y1="3" x2="14" y2="21" />
            </svg>
        );
    },
);

Hash.propTypes = {
    color: PropTypes.string,
    size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};

Hash.displayName = 'Hash';

export default Hash;