mnml/client/src/components/svgs/diamond.jsx
2019-06-09 16:33:47 +10:00

13 lines
445 B
JavaScript

const preact = require('preact');
module.exports = function triangle(classes) {
return (
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 200 200" class={classes} transform="rotate(45)" >
<rect x="10" y="10" width="180" height="180"/>
<rect x="40" y="40" width="120" height="120"/>
<rect x="70" y="70" width="60" height="60"/>
</svg>
);
};