Skip to content

Instantly share code, notes, and snippets.

@giubatt
Created November 6, 2023 21:11
Show Gist options
  • Select an option

  • Save giubatt/319cc6a7d8b6c9836575392fa2e11c5c to your computer and use it in GitHub Desktop.

Select an option

Save giubatt/319cc6a7d8b6c9836575392fa2e11c5c to your computer and use it in GitHub Desktop.
diff --git a/dist/cjs/tabler-icons-react.js b/dist/cjs/tabler-icons-react.js
index 641ec64f0c497db0f6af1533befb4195b5703ed9..94977e42a187eb2f958975197885d1939a2018ec 100644
--- a/dist/cjs/tabler-icons-react.js
+++ b/dist/cjs/tabler-icons-react.js
@@ -15,8 +15,8 @@ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
var defaultAttributes = {
xmlns: "http://www.w3.org/2000/svg",
- width: 24,
- height: 24,
+ width: "1em",
+ height: "1em",
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
@@ -59,7 +59,7 @@ var __objRest = (source, exclude) => {
var createReactComponent = (iconName, iconNamePascal, iconNode) => {
const Component = react.forwardRef(
(_a, ref) => {
- var _b = _a, { color = "currentColor", size = 24, stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
+ var _b = _a, { color = "currentColor", size = "1em", stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
return react.createElement(
"svg",
__spreadValues(__spreadProps(__spreadValues({
diff --git a/dist/es/tabler-icons-react.js b/dist/es/tabler-icons-react.js
index 300e68b76039cae599467eda40757361d136948e..c967b4f19d54328c36ecad412df7615cc029704e 100644
--- a/dist/es/tabler-icons-react.js
+++ b/dist/es/tabler-icons-react.js
@@ -7,8 +7,8 @@ import PropTypes from 'prop-types';
var defaultAttributes = {
xmlns: "http://www.w3.org/2000/svg",
- width: 24,
- height: 24,
+ width: "1em",
+ height: "1em",
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
@@ -51,7 +51,7 @@ var __objRest = (source, exclude) => {
var createReactComponent = (iconName, iconNamePascal, iconNode) => {
const Component = forwardRef(
(_a, ref) => {
- var _b = _a, { color = "currentColor", size = 24, stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
+ var _b = _a, { color = "currentColor", size = "1em", stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
return createElement(
"svg",
__spreadValues(__spreadProps(__spreadValues({
diff --git a/dist/esm/createReactComponent.js b/dist/esm/createReactComponent.js
index f7d7825a93e98bcb8ebc51ff9488c9ba9f58f100..bad2a8e5c75d7237c40a9c0adce387dd3367a8db 100644
--- a/dist/esm/createReactComponent.js
+++ b/dist/esm/createReactComponent.js
@@ -40,7 +40,7 @@ var __objRest = (source, exclude) => {
var createReactComponent = (iconName, iconNamePascal, iconNode) => {
const Component = forwardRef(
(_a, ref) => {
- var _b = _a, { color = "currentColor", size = 24, stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
+ var _b = _a, { color = "currentColor", size = "1em", stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
return createElement(
"svg",
__spreadValues(__spreadProps(__spreadValues({
diff --git a/dist/esm/defaultAttributes.js b/dist/esm/defaultAttributes.js
index 77e40e43c2cd6e211b56c40f77baf903bc03180d..cb003c86655e8885a5a45a07a3f68b3618b7c0ad 100644
--- a/dist/esm/defaultAttributes.js
+++ b/dist/esm/defaultAttributes.js
@@ -4,8 +4,8 @@
var defaultAttributes = {
xmlns: "http://www.w3.org/2000/svg",
- width: 24,
- height: 24,
+ width: "1em",
+ height: "1em",
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
diff --git a/dist/umd/tabler-icons-react.js b/dist/umd/tabler-icons-react.js
index eb56909edf31bc6190fe45a766fce8d868038ed8..342e4b29971120ee9679d6835290f143c79333aa 100644
--- a/dist/umd/tabler-icons-react.js
+++ b/dist/umd/tabler-icons-react.js
@@ -14,8 +14,8 @@
var defaultAttributes = {
xmlns: "http://www.w3.org/2000/svg",
- width: 24,
- height: 24,
+ width: "1em",
+ height: "1em",
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
@@ -58,7 +58,7 @@
var createReactComponent = (iconName, iconNamePascal, iconNode) => {
const Component = react.forwardRef(
(_a, ref) => {
- var _b = _a, { color = "currentColor", size = 24, stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
+ var _b = _a, { color = "currentColor", size = "1em", stroke = 2, children } = _b, rest = __objRest(_b, ["color", "size", "stroke", "children"]);
return react.createElement(
"svg",
__spreadValues(__spreadProps(__spreadValues({
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment