classname -> class

This commit is contained in:
ntr
2019-06-06 11:53:06 +10:00
parent 6cae6057b9
commit 114ec98aba
28 changed files with 102 additions and 102 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ const preact = require('preact');
module.exports = function vboxColour(classes) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 40" className={classes} >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 40" class={classes} >
<path id="Unnamed"
fill="none" strokeWidth="1px"
d="M 20,20
+1 -1
View File
@@ -3,7 +3,7 @@ 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 202.45 205.43" style="enable-background:new 0 0 202.45 205.43;" className={classes} >
viewBox="0 0 202.45 205.43" style="enable-background:new 0 0 202.45 205.43;" class={classes} >
<g>
<polygon class="st0" points="101.23,203.83 1.58,102.72 101.23,1.6 200.87,102.72 "/>
<polygon class="st0" points="21.92,102.72 101.23,22.24 180.53,102.72 101.23,183.19 "/>
+1 -1
View File
@@ -3,7 +3,7 @@ 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;" className={classes} >
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
"/>
+1 -1
View File
@@ -3,7 +3,7 @@ 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 212.21 200" style="enable-background:new 0 0 212.21 200;" className={classes} >
viewBox="0 0 212.21 200" style="enable-background:new 0 0 212.21 200;" class={classes} >
<g>
<polygon class="st4" points="106.11,1.82 1.74,76.95 41.61,198.52 170.61,198.52 210.47,76.95 "/>
<polygon class="st4" points="54.38,181.1 22.41,83.61 106.11,23.36 189.8,83.61 157.83,181.1 "/>
+2 -2
View File
@@ -3,8 +3,8 @@ const preact = require('preact');
module.exports = function saw(colour) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" style={{ stroke: colour }}>
<path d="M0,50l50,-50v100l50,-50" className="ping-path"/>
<path d="M0,50l50,-50v100l50,-50" className="ping-path"/>
<path d="M0,50l50,-50v100l50,-50" class="ping-path"/>
<path d="M0,50l50,-50v100l50,-50" class="ping-path"/>
</svg>
);
};
+1 -1
View File
@@ -3,7 +3,7 @@ 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 201.8 200" style="enable-background:new 0 0 201.8 200;" className={classes} >
viewBox="0 0 201.8 200" style="enable-background:new 0 0 201.8 200;" class={classes} >
<g>
<g>
<path class="st1" d="M101.35,198.52h-0.9c-54.66,0-98.97-44.31-98.97-98.97V1.48h198.84v98.07