aboutsummaryrefslogtreecommitdiff
path: root/icons-react/icons-js/switch.js
diff options
context:
space:
mode:
authorMichal Wolny <michal.wolny@versum.pl>2020-10-06 19:28:20 +0200
committerMichal Wolny <michal.wolny@versum.pl>2020-10-06 19:28:20 +0200
commitd82841119820b4814169a8fa42a88f166f406a6f (patch)
tree5617b40088a57a19c74b454d949bbba5d3b63c63 /icons-react/icons-js/switch.js
parentRelease 1.33.0 (diff)
downloadtabler-icons-d82841119820b4814169a8fa42a88f166f406a6f.tar.xz
[dev-icons-react-bundling] change svgr template to enable babel transformation, add babel with react and env, add rollup for commonJS, UMD and ESM, add gulp and npm tasks for building react, add peer react and react-dom dependencies, add needed deps, updated npm package files, updated readme
Diffstat (limited to 'icons-react/icons-js/switch.js')
-rw-r--r--icons-react/icons-js/switch.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/icons-react/icons-js/switch.js b/icons-react/icons-js/switch.js
index 0ec04dbc..db2da41d 100644
--- a/icons-react/icons-js/switch.js
+++ b/icons-react/icons-js/switch.js
@@ -1,5 +1,12 @@
import * as React from "react";
-const IconSwitch = (size = 24, color = "currentColor", stroke = 2, ...props) => <svg className="icon icon-tabler icon-tabler-switch" width={size} height={size} viewBox="0 0 24 24" strokeWidth={stroke} stroke={color} fill="none" strokeLinecap="round" strokeLinejoin="round" {...props}><path stroke="none" d="M0 0h24v24H0z" fill="none" /><polyline points="15 4 19 4 19 8" /><line x1={14.75} y1={9.25} x2={19} y2={4} /><line x1={5} y1={19} x2={9} y2={15} /><polyline points="15 19 19 19 19 15" /><line x1={5} y1={5} x2={19} y2={19} /></svg>;
+function IconSwitch({
+ size = 24,
+ color = "currentColor",
+ stroke = 2,
+ ...props
+}) {
+ return <svg className="icon icon-tabler icon-tabler-switch" width={size} height={size} viewBox="0 0 24 24" strokeWidth={stroke} stroke={color} fill="none" strokeLinecap="round" strokeLinejoin="round" {...props}><path stroke="none" d="M0 0h24v24H0z" fill="none" /><polyline points="15 4 19 4 19 8" /><line x1={14.75} y1={9.25} x2={19} y2={4} /><line x1={5} y1={19} x2={9} y2={15} /><polyline points="15 19 19 19 19 15" /><line x1={5} y1={5} x2={19} y2={19} /></svg>;
+}
export default IconSwitch; \ No newline at end of file