diff options
author | Michal Wolny <michal.wolny@versum.pl> | 2020-10-06 19:28:20 +0200 |
---|---|---|
committer | Michal Wolny <michal.wolny@versum.pl> | 2020-10-06 19:28:20 +0200 |
commit | d82841119820b4814169a8fa42a88f166f406a6f (patch) | |
tree | 5617b40088a57a19c74b454d949bbba5d3b63c63 /icons-react/icons-js/ruler.js | |
parent | Release 1.33.0 (diff) | |
download | tabler-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/ruler.js')
-rw-r--r-- | icons-react/icons-js/ruler.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/icons-react/icons-js/ruler.js b/icons-react/icons-js/ruler.js index aaa88f16..9853eb86 100644 --- a/icons-react/icons-js/ruler.js +++ b/icons-react/icons-js/ruler.js @@ -1,5 +1,12 @@ import * as React from "react"; -const IconRuler = (size = 24, color = "currentColor", stroke = 2, ...props) => <svg className="icon icon-tabler icon-tabler-ruler" 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" /><path d="M5 4h14a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-7a1 1 0 0 0 -1 1v7a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1" /><line x1={4} y1={8} x2={6} y2={8} /><line x1={4} y1={12} x2={7} y2={12} /><line x1={4} y1={16} x2={6} y2={16} /><line x1={8} y1={4} x2={8} y2={6} /><polyline points="12 4 12 7 " /><polyline points="16 4 16 6 " /></svg>; +function IconRuler({ + size = 24, + color = "currentColor", + stroke = 2, + ...props +}) { + return <svg className="icon icon-tabler icon-tabler-ruler" 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" /><path d="M5 4h14a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-7a1 1 0 0 0 -1 1v7a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1" /><line x1={4} y1={8} x2={6} y2={8} /><line x1={4} y1={12} x2={7} y2={12} /><line x1={4} y1={16} x2={6} y2={16} /><line x1={8} y1={4} x2={8} y2={6} /><polyline points="12 4 12 7 " /><polyline points="16 4 16 6 " /></svg>; +} export default IconRuler;
\ No newline at end of file |