22 lines
1.0 KiB
JavaScript
22 lines
1.0 KiB
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" x="0px" y="0px"
|
|
viewBox="0 0 198.06 199.93" style="enable-background:new 0 0 198.06 199.93;" class={classes} >
|
|
<g>
|
|
<polygon class="st3" points="54.42,198.47 1.47,145.01 1.47,54.93 54.42,1.47 143.64,1.47 196.6,54.93 196.6,145.01 143.64,198.47
|
|
"/>
|
|
<polygon class="st3" points="62.87,177.87 21.87,136.47 21.87,63.46 62.87,22.07 135.19,22.07 176.19,63.46 176.19,136.47
|
|
135.19,177.87 "/>
|
|
<polygon class="st3" points="71.32,157.26 42.28,127.94 42.28,71.99 71.32,42.67 126.74,42.67 155.78,71.99 155.78,127.94
|
|
126.74,157.26 "/>
|
|
<polygon class="st3" points="79.78,136.66 62.69,119.4 62.69,80.53 79.78,63.27 118.29,63.27 135.37,80.53 135.37,119.4
|
|
118.29,136.66 "/>
|
|
<polygon class="st3" points="88.23,116.06 83.1,110.87 83.1,89.06 88.23,83.88 109.83,83.88 114.97,89.06 114.97,110.87
|
|
109.83,116.06 "/>
|
|
</g>
|
|
</svg>
|
|
);
|
|
};
|