magick-icons 0.1.74 → 0.1.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +7 -7
- package/index.d.ts +7 -7
- package/index.js +8 -8
- package/index.js.map +1 -1
- package/index.mjs +7 -7
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/README.md +0 -116
package/index.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Props for the
|
|
4
|
+
* Props for the FilterTick1 icon component
|
|
5
5
|
* @property {number | string} [size] - Size of the icon (default: 24)
|
|
6
6
|
*/
|
|
7
|
-
interface
|
|
7
|
+
interface FilterTick1Props extends React.SVGProps<SVGSVGElement> {
|
|
8
8
|
size?: number | string;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* FilterTick1 icon component
|
|
12
12
|
* @example
|
|
13
13
|
* ```tsx
|
|
14
|
-
* import {
|
|
14
|
+
* import { FilterTick1 } from 'magick-icons';
|
|
15
15
|
*
|
|
16
|
-
* <
|
|
16
|
+
* <FilterTick1 size={24} className="text-blue-500" strokeWidth={2} />
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
declare const
|
|
19
|
+
declare const FilterTick1: React.ForwardRefExoticComponent<Omit<FilterTick1Props, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { FilterTick1, type FilterTick1Props };
|
package/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Props for the
|
|
4
|
+
* Props for the FilterTick1 icon component
|
|
5
5
|
* @property {number | string} [size] - Size of the icon (default: 24)
|
|
6
6
|
*/
|
|
7
|
-
interface
|
|
7
|
+
interface FilterTick1Props extends React.SVGProps<SVGSVGElement> {
|
|
8
8
|
size?: number | string;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* FilterTick1 icon component
|
|
12
12
|
* @example
|
|
13
13
|
* ```tsx
|
|
14
|
-
* import {
|
|
14
|
+
* import { FilterTick1 } from 'magick-icons';
|
|
15
15
|
*
|
|
16
|
-
* <
|
|
16
|
+
* <FilterTick1 size={24} className="text-blue-500" strokeWidth={2} />
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
declare const
|
|
19
|
+
declare const FilterTick1: React.ForwardRefExoticComponent<Omit<FilterTick1Props, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { FilterTick1, type FilterTick1Props };
|
package/index.js
CHANGED
|
@@ -30,25 +30,25 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// dist/index.ts
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
|
-
|
|
33
|
+
FilterTick1: () => FilterTick1
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(index_exports);
|
|
36
36
|
|
|
37
|
-
// dist/icons/
|
|
37
|
+
// dist/icons/FilterTick1.tsx
|
|
38
38
|
var import_react = __toESM(require("react"));
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
|
-
var
|
|
40
|
+
var FilterTick1 = import_react.default.forwardRef(
|
|
41
41
|
({ size, ...props }, ref) => {
|
|
42
42
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { ref, xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", ...props, children: [
|
|
43
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "
|
|
44
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "
|
|
45
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "
|
|
43
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "M16.88 20.25a5.3 5.3 0 0 1-2.97-.9 5.24 5.24 0 0 1-1.73-1.77c-.52-.85-.8-1.83-.8-2.83 0-3.03 2.47-5.5 5.5-5.5.42 0 .83.05 1.22.14 2.48.55 4.28 2.8 4.28 5.36 0 1.01-.27 1.99-.79 2.84a5.51 5.51 0 0 1-4.71 2.66m0-9.5c-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.66.44 1.4.66 2.17.66 1.4 0 2.71-.74 3.43-1.94.38-.62.57-1.33.57-2.06 0-1.86-1.31-3.5-3.12-3.9-.29-.07-.58-.1-.88-.1" }),
|
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "M16.2 16.67c-.19 0-.38-.07-.53-.22l-1.17-1.17a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.66.66 2.01-1.85c.31-.28.78-.26 1.06.04s.26.78-.04 1.06l-2.54 2.34c-.14.13-.33.2-.51.2" }),
|
|
45
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fill: "#1e293b", d: "M10.93 22.75c-.48 0-.96-.12-1.39-.36-.89-.5-1.42-1.4-1.42-2.41v-5.35c0-.51-.33-1.26-.65-1.65l-3.8-3.99c-.63-.65-1.12-1.74-1.12-2.54V4.12c0-1.61 1.22-2.87 2.77-2.87h13.34a2.77 2.77 0 0 1 2.77 2.77v2.22c0 1.05-.62 2.23-1.23 2.85l-1.8 1.59a.77.77 0 0 1-.67.17c-.27-.07-.56-.1-.86-.1-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.22.14.36.38.36.64v.34c0 .79-.48 1.9-1.28 2.37l-1.38.89c-.44.28-.96.42-1.47.42m-5.6-20c-.71 0-1.27.6-1.27 1.37v2.33c0 .36.3 1.09.7 1.49l3.85 4.05c.51.63 1.02 1.69 1.02 2.64v5.35c0 .66.46.99.65 1.1.43.24.94.23 1.33-.01l1.4-.9c.27-.16.54-.67.56-1.03-.55-.41-1.03-.94-1.39-1.54-.52-.85-.8-1.83-.8-2.83a5.51 5.51 0 0 1 6.32-5.44l1.48-1.31c.34-.35.76-1.18.76-1.77V4.03c0-.7-.57-1.27-1.27-1.27H5.33z" })
|
|
46
46
|
] });
|
|
47
47
|
}
|
|
48
48
|
);
|
|
49
|
-
|
|
49
|
+
FilterTick1.displayName = "FilterTick1";
|
|
50
50
|
// Annotate the CommonJS export names for ESM import in node:
|
|
51
51
|
0 && (module.exports = {
|
|
52
|
-
|
|
52
|
+
FilterTick1
|
|
53
53
|
});
|
|
54
54
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts","icons/
|
|
1
|
+
{"version":3,"sources":["index.ts","icons/FilterTick1.tsx"],"sourcesContent":["// Auto-generated file - do not edit manually\n/**\n * @packageDocumentation\n * Magick Icons - SVG icon components for React\n * \n * @example\n * ```tsx\n * import { FilterTick1 } from 'magick-icons';\n * \n * function MyComponent() {\n * return <FilterTick1 size={24} className=\"text-blue-500\" />;\n * }\n * ```\n */\n\n/**\n * FilterTick1 icon component and its props type\n * @see {@link FilterTick1Props} for available props\n */\nexport { FilterTick1, type FilterTick1Props } from './icons/FilterTick1';\n","import React from 'react';\n\n/**\n * Props for the FilterTick1 icon component\n * @property {number | string} [size] - Size of the icon (default: 24)\n */\nexport interface FilterTick1Props extends React.SVGProps<SVGSVGElement> {\n size?: number | string;\n}\n\n/**\n * FilterTick1 icon component\n * @example\n * ```tsx\n * import { FilterTick1 } from 'magick-icons';\n * \n * <FilterTick1 size={24} className=\"text-blue-500\" strokeWidth={2} />\n * ```\n */\nexport const FilterTick1 = React.forwardRef<SVGSVGElement, FilterTick1Props>(\n ({ size, ...props }, ref) => {\n return (\n <svg ref={ref} xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" {...props}><path fill=\"#1e293b\" d=\"M16.88 20.25a5.3 5.3 0 0 1-2.97-.9 5.24 5.24 0 0 1-1.73-1.77c-.52-.85-.8-1.83-.8-2.83 0-3.03 2.47-5.5 5.5-5.5.42 0 .83.05 1.22.14 2.48.55 4.28 2.8 4.28 5.36 0 1.01-.27 1.99-.79 2.84a5.51 5.51 0 0 1-4.71 2.66m0-9.5c-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.66.44 1.4.66 2.17.66 1.4 0 2.71-.74 3.43-1.94.38-.62.57-1.33.57-2.06 0-1.86-1.31-3.5-3.12-3.9-.29-.07-.58-.1-.88-.1\"/><path fill=\"#1e293b\" d=\"M16.2 16.67c-.19 0-.38-.07-.53-.22l-1.17-1.17a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.66.66 2.01-1.85c.31-.28.78-.26 1.06.04s.26.78-.04 1.06l-2.54 2.34c-.14.13-.33.2-.51.2\"/><path fill=\"#1e293b\" d=\"M10.93 22.75c-.48 0-.96-.12-1.39-.36-.89-.5-1.42-1.4-1.42-2.41v-5.35c0-.51-.33-1.26-.65-1.65l-3.8-3.99c-.63-.65-1.12-1.74-1.12-2.54V4.12c0-1.61 1.22-2.87 2.77-2.87h13.34a2.77 2.77 0 0 1 2.77 2.77v2.22c0 1.05-.62 2.23-1.23 2.85l-1.8 1.59a.77.77 0 0 1-.67.17c-.27-.07-.56-.1-.86-.1-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.22.14.36.38.36.64v.34c0 .79-.48 1.9-1.28 2.37l-1.38.89c-.44.28-.96.42-1.47.42m-5.6-20c-.71 0-1.27.6-1.27 1.37v2.33c0 .36.3 1.09.7 1.49l3.85 4.05c.51.63 1.02 1.69 1.02 2.64v5.35c0 .66.46.99.65 1.1.43.24.94.23 1.33-.01l1.4-.9c.27-.16.54-.67.56-1.03-.55-.41-1.03-.94-1.39-1.54-.52-.85-.8-1.83-.8-2.83a5.51 5.51 0 0 1 6.32-5.44l1.48-1.31c.34-.35.76-1.18.76-1.77V4.03c0-.7-.57-1.27-1.27-1.27H5.33z\"/></svg>\n );\n }\n);\n\nFilterTick1.displayName = 'FilterTick1';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAkB;AAsBZ;AAHC,IAAM,cAAc,aAAAA,QAAM;AAAA,EAC/B,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ;AAC3B,WACE,6CAAC,SAAI,KAAU,OAAM,8BAA6B,OAAM,MAAK,QAAO,MAAK,MAAK,QAAO,SAAQ,aAAa,GAAG,OAAO;AAAA,kDAAC,UAAK,MAAK,WAAU,GAAE,2YAAyY;AAAA,MAAE,4CAAC,UAAK,MAAK,WAAU,GAAE,oLAAkL;AAAA,MAAE,4CAAC,UAAK,MAAK,WAAU,GAAE,iuBAA+tB;AAAA,OAAE;AAAA,EAE79C;AACF;AAEA,YAAY,cAAc;","names":["React"]}
|
package/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// dist/icons/
|
|
1
|
+
// dist/icons/FilterTick1.tsx
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
var
|
|
4
|
+
var FilterTick1 = React.forwardRef(
|
|
5
5
|
({ size, ...props }, ref) => {
|
|
6
6
|
return /* @__PURE__ */ jsxs("svg", { ref, xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", ...props, children: [
|
|
7
|
-
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "
|
|
8
|
-
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "
|
|
9
|
-
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "
|
|
7
|
+
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "M16.88 20.25a5.3 5.3 0 0 1-2.97-.9 5.24 5.24 0 0 1-1.73-1.77c-.52-.85-.8-1.83-.8-2.83 0-3.03 2.47-5.5 5.5-5.5.42 0 .83.05 1.22.14 2.48.55 4.28 2.8 4.28 5.36 0 1.01-.27 1.99-.79 2.84a5.51 5.51 0 0 1-4.71 2.66m0-9.5c-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.66.44 1.4.66 2.17.66 1.4 0 2.71-.74 3.43-1.94.38-.62.57-1.33.57-2.06 0-1.86-1.31-3.5-3.12-3.9-.29-.07-.58-.1-.88-.1" }),
|
|
8
|
+
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "M16.2 16.67c-.19 0-.38-.07-.53-.22l-1.17-1.17a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.66.66 2.01-1.85c.31-.28.78-.26 1.06.04s.26.78-.04 1.06l-2.54 2.34c-.14.13-.33.2-.51.2" }),
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "#1e293b", d: "M10.93 22.75c-.48 0-.96-.12-1.39-.36-.89-.5-1.42-1.4-1.42-2.41v-5.35c0-.51-.33-1.26-.65-1.65l-3.8-3.99c-.63-.65-1.12-1.74-1.12-2.54V4.12c0-1.61 1.22-2.87 2.77-2.87h13.34a2.77 2.77 0 0 1 2.77 2.77v2.22c0 1.05-.62 2.23-1.23 2.85l-1.8 1.59a.77.77 0 0 1-.67.17c-.27-.07-.56-.1-.86-.1-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.22.14.36.38.36.64v.34c0 .79-.48 1.9-1.28 2.37l-1.38.89c-.44.28-.96.42-1.47.42m-5.6-20c-.71 0-1.27.6-1.27 1.37v2.33c0 .36.3 1.09.7 1.49l3.85 4.05c.51.63 1.02 1.69 1.02 2.64v5.35c0 .66.46.99.65 1.1.43.24.94.23 1.33-.01l1.4-.9c.27-.16.54-.67.56-1.03-.55-.41-1.03-.94-1.39-1.54-.52-.85-.8-1.83-.8-2.83a5.51 5.51 0 0 1 6.32-5.44l1.48-1.31c.34-.35.76-1.18.76-1.77V4.03c0-.7-.57-1.27-1.27-1.27H5.33z" })
|
|
10
10
|
] });
|
|
11
11
|
}
|
|
12
12
|
);
|
|
13
|
-
|
|
13
|
+
FilterTick1.displayName = "FilterTick1";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
FilterTick1
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=index.mjs.map
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["icons/
|
|
1
|
+
{"version":3,"sources":["icons/FilterTick1.tsx"],"sourcesContent":["import React from 'react';\n\n/**\n * Props for the FilterTick1 icon component\n * @property {number | string} [size] - Size of the icon (default: 24)\n */\nexport interface FilterTick1Props extends React.SVGProps<SVGSVGElement> {\n size?: number | string;\n}\n\n/**\n * FilterTick1 icon component\n * @example\n * ```tsx\n * import { FilterTick1 } from 'magick-icons';\n * \n * <FilterTick1 size={24} className=\"text-blue-500\" strokeWidth={2} />\n * ```\n */\nexport const FilterTick1 = React.forwardRef<SVGSVGElement, FilterTick1Props>(\n ({ size, ...props }, ref) => {\n return (\n <svg ref={ref} xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\" {...props}><path fill=\"#1e293b\" d=\"M16.88 20.25a5.3 5.3 0 0 1-2.97-.9 5.24 5.24 0 0 1-1.73-1.77c-.52-.85-.8-1.83-.8-2.83 0-3.03 2.47-5.5 5.5-5.5.42 0 .83.05 1.22.14 2.48.55 4.28 2.8 4.28 5.36 0 1.01-.27 1.99-.79 2.84a5.51 5.51 0 0 1-4.71 2.66m0-9.5c-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.66.44 1.4.66 2.17.66 1.4 0 2.71-.74 3.43-1.94.38-.62.57-1.33.57-2.06 0-1.86-1.31-3.5-3.12-3.9-.29-.07-.58-.1-.88-.1\"/><path fill=\"#1e293b\" d=\"M16.2 16.67c-.19 0-.38-.07-.53-.22l-1.17-1.17a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.66.66 2.01-1.85c.31-.28.78-.26 1.06.04s.26.78-.04 1.06l-2.54 2.34c-.14.13-.33.2-.51.2\"/><path fill=\"#1e293b\" d=\"M10.93 22.75c-.48 0-.96-.12-1.39-.36-.89-.5-1.42-1.4-1.42-2.41v-5.35c0-.51-.33-1.26-.65-1.65l-3.8-3.99c-.63-.65-1.12-1.74-1.12-2.54V4.12c0-1.61 1.22-2.87 2.77-2.87h13.34a2.77 2.77 0 0 1 2.77 2.77v2.22c0 1.05-.62 2.23-1.23 2.85l-1.8 1.59a.77.77 0 0 1-.67.17c-.27-.07-.56-.1-.86-.1-2.21 0-4 1.79-4 4 0 .73.2 1.44.58 2.06.32.53.75.97 1.25 1.28.22.14.36.38.36.64v.34c0 .79-.48 1.9-1.28 2.37l-1.38.89c-.44.28-.96.42-1.47.42m-5.6-20c-.71 0-1.27.6-1.27 1.37v2.33c0 .36.3 1.09.7 1.49l3.85 4.05c.51.63 1.02 1.69 1.02 2.64v5.35c0 .66.46.99.65 1.1.43.24.94.23 1.33-.01l1.4-.9c.27-.16.54-.67.56-1.03-.55-.41-1.03-.94-1.39-1.54-.52-.85-.8-1.83-.8-2.83a5.51 5.51 0 0 1 6.32-5.44l1.48-1.31c.34-.35.76-1.18.76-1.77V4.03c0-.7-.57-1.27-1.27-1.27H5.33z\"/></svg>\n );\n }\n);\n\nFilterTick1.displayName = 'FilterTick1';\n"],"mappings":";AAAA,OAAO,WAAW;AAsBZ,SAAoH,KAApH;AAHC,IAAM,cAAc,MAAM;AAAA,EAC/B,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ;AAC3B,WACE,qBAAC,SAAI,KAAU,OAAM,8BAA6B,OAAM,MAAK,QAAO,MAAK,MAAK,QAAO,SAAQ,aAAa,GAAG,OAAO;AAAA,0BAAC,UAAK,MAAK,WAAU,GAAE,2YAAyY;AAAA,MAAE,oBAAC,UAAK,MAAK,WAAU,GAAE,oLAAkL;AAAA,MAAE,oBAAC,UAAK,MAAK,WAAU,GAAE,iuBAA+tB;AAAA,OAAE;AAAA,EAE79C;AACF;AAEA,YAAY,cAAc;","names":[]}
|
package/package.json
CHANGED
package/README.md
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# Magick Icons
|
|
2
|
-
|
|
3
|
-
SVG React icon components with TypeScript support.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install magick-icons
|
|
9
|
-
# or
|
|
10
|
-
pnpm add magick-icons
|
|
11
|
-
# or
|
|
12
|
-
yarn add magick-icons
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```tsx
|
|
18
|
-
import { ChatFullScreen, Finance } from 'magick-icons';
|
|
19
|
-
|
|
20
|
-
function App() {
|
|
21
|
-
return (
|
|
22
|
-
<div>
|
|
23
|
-
<ChatFullScreen size={24} className="text-blue-500" />
|
|
24
|
-
<Finance size={32} color="red" />
|
|
25
|
-
</div>
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Available Icons
|
|
31
|
-
|
|
32
|
-
- `ChatFullScreen`
|
|
33
|
-
- `Finance`
|
|
34
|
-
|
|
35
|
-
## Props
|
|
36
|
-
|
|
37
|
-
All icons accept standard SVG props plus:
|
|
38
|
-
|
|
39
|
-
```tsx
|
|
40
|
-
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
41
|
-
size?: number | string; // Default: 24
|
|
42
|
-
}
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Examples
|
|
46
|
-
|
|
47
|
-
### Basic Usage
|
|
48
|
-
```tsx
|
|
49
|
-
<ChatFullScreen />
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### Custom Size
|
|
53
|
-
```tsx
|
|
54
|
-
<ChatFullScreen size={48} />
|
|
55
|
-
<ChatFullScreen size="2rem" />
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Custom Styling
|
|
59
|
-
```tsx
|
|
60
|
-
<ChatFullScreen
|
|
61
|
-
className="text-blue-500 hover:text-blue-700"
|
|
62
|
-
style={{ cursor: 'pointer' }}
|
|
63
|
-
/>
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### With Props
|
|
67
|
-
```tsx
|
|
68
|
-
<Finance
|
|
69
|
-
size={32}
|
|
70
|
-
color="currentColor"
|
|
71
|
-
onClick={() => console.log('clicked')}
|
|
72
|
-
aria-label="Finance icon"
|
|
73
|
-
/>
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## TypeScript
|
|
77
|
-
|
|
78
|
-
Full TypeScript support with prop types:
|
|
79
|
-
|
|
80
|
-
```tsx
|
|
81
|
-
import { ChatFullScreen, ChatFullScreenProps } from 'magick-icons';
|
|
82
|
-
|
|
83
|
-
const props: ChatFullScreenProps = {
|
|
84
|
-
size: 24,
|
|
85
|
-
className: "icon",
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
<ChatFullScreen {...props} />
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
## IDE Autocomplete
|
|
92
|
-
|
|
93
|
-
### VS Code
|
|
94
|
-
Enable auto-imports in settings:
|
|
95
|
-
- `typescript.suggest.autoImports`: true
|
|
96
|
-
- `javascript.suggest.autoImports`: true
|
|
97
|
-
|
|
98
|
-
Then type `<ChatFullScreen` and accept the suggestion to auto-import.
|
|
99
|
-
|
|
100
|
-
### Manual Import
|
|
101
|
-
Type the import first for autocomplete:
|
|
102
|
-
```tsx
|
|
103
|
-
import { ChatFullScreen } from 'magick-icons';
|
|
104
|
-
// Now typing <Chat will autocomplete
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
## Updating
|
|
108
|
-
|
|
109
|
-
To get the latest icons:
|
|
110
|
-
```bash
|
|
111
|
-
pnpm add magick-icons@latest
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
## License
|
|
115
|
-
|
|
116
|
-
MIT
|