feat: Add react package (#4)

* chore: Organise

* feat: Add `react` package

* refactor: Remove unneeded char
This commit is contained in:
John Letey
2020-06-13 12:52:10 +01:00
committed by GitHub
parent 6a3378ce5a
commit d652e795d6
338 changed files with 10986 additions and 15748 deletions

View File

@@ -0,0 +1,35 @@
import React, { forwardRef } from "react";
import PropTypes from "prop-types";
const Speaker = 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}
>
<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect>
<circle cx="12" cy="14" r="4"></circle>
<line x1="12" y1="6" x2="12.01" y2="6"></line>
</svg>
);
}
);
Speaker.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Speaker.displayName = "Speaker";
export default Speaker;