diff options
author | Paweł Kuna <1282324+codecalm@users.noreply.github.com> | 2020-10-08 21:14:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 21:14:05 +0200 |
commit | fa480759bd45f06341dc8026f3fb0f981965200c (patch) | |
tree | 5617b40088a57a19c74b454d949bbba5d3b63c63 /icons-react/icons-js/palette.js | |
parent | Release 1.33.0 (diff) | |
parent | [dev-icons-react-bundling] change svgr template to enable babel transformatio... (diff) | |
download | tabler-icons-fa480759bd45f06341dc8026f3fb0f981965200c.tar.xz |
Merge pull request #82 from tabler/dev-icons-react-bundling
React icons bundling for different usage types
Diffstat (limited to 'icons-react/icons-js/palette.js')
-rw-r--r-- | icons-react/icons-js/palette.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/icons-react/icons-js/palette.js b/icons-react/icons-js/palette.js index 7487bb7d..5c581653 100644 --- a/icons-react/icons-js/palette.js +++ b/icons-react/icons-js/palette.js @@ -1,5 +1,12 @@ import * as React from "react"; -const IconPalette = (size = 24, color = "currentColor", stroke = 2, ...props) => <svg className="icon icon-tabler icon-tabler-palette" 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="M12 21a9 9 0 1 1 0 -18a9 8 0 0 1 9 8a4.5 4 0 0 1 -4.5 4h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25" /><circle cx={7.5} cy={10.5} r={0.5} fill="currentColor" /><circle cx={12} cy={7.5} r={0.5} fill="currentColor" /><circle cx={16.5} cy={10.5} r={0.5} fill="currentColor" /></svg>; +function IconPalette({ + size = 24, + color = "currentColor", + stroke = 2, + ...props +}) { + return <svg className="icon icon-tabler icon-tabler-palette" 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="M12 21a9 9 0 1 1 0 -18a9 8 0 0 1 9 8a4.5 4 0 0 1 -4.5 4h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25" /><circle cx={7.5} cy={10.5} r={0.5} fill="currentColor" /><circle cx={12} cy={7.5} r={0.5} fill="currentColor" /><circle cx={16.5} cy={10.5} r={0.5} fill="currentColor" /></svg>; +} export default IconPalette;
\ No newline at end of file |