tg-icon-pack 1.0.46 → 1.0.48

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.
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "react";
2
+
3
+ export interface TGIconProps extends HTMLAttributes<HTMLElement> {
4
+ unicode: string;
5
+ className?: string;
6
+ }
7
+
8
+ declare const TGIcon: (props: TGIconProps) => JSX.Element;
9
+
10
+ export default TGIcon;
@@ -0,0 +1,9 @@
1
+ import styles from "../../icons.module.scss";
2
+ import {jsx as _jsx} from "react/jsx-runtime";
3
+
4
+ export default function TGIcon({ unicode, className = "" }) {
5
+ return /*#__PURE__*/ _jsx("i", {
6
+ className: `${styles.icon} ${className}`,
7
+ children: String.fromCharCode(parseInt(unicode, 16))
8
+ });
9
+ }
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes } from 'react';
2
+
3
+ export interface iconProps extends HTMLAttributes<HTMLElement> {
4
+ className?: string;
5
+ }
6
+
7
+ declare const Kebab: (props: iconProps) => JSX.Element;
8
+
9
+ export default Kebab;
package/icons/Kebab.js ADDED
@@ -0,0 +1,9 @@
1
+ import styles from "../icons.module.scss";
2
+ import {jsx as _jsx} from "react/jsx-runtime";
3
+
4
+ export default function Kebab({className = ""}) {
5
+ return /*#__PURE__*/_jsx("i", {
6
+ className: `${styles.icon} ${className}`,
7
+ children: "\ue99f"
8
+ });
9
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "index.js",
4
4
  "type": "module",
5
5
  "description": "TeklifimGelsin Custom Icon Pack",
6
- "version": "1.0.46",
6
+ "version": "1.0.48",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"
9
9
  },
package/tg_icons.ttf CHANGED
Binary file