PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.17
Yatra – Travel Booking & Tour Operator Software v3.0.17
3.0.17 3.0.16 3.0.15 3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 All 85 releases
← All changes | resources/js/components/ui/icon-selector.tsx +4 -2 3.0.3 → 3.0.17 View file →
@@ -4,9 +4,12 @@
4 4
5 5 import React from "react";
6 6 import { Package } from "lucide-react";
7 7 import { getYatraIconSvg } from "../../lib/icons";
8 -import { FA_REGULAR_NAME_SET, FA_SOLID_NAME_SET } from "../../lib/fa-free-picker-icons";
8 +import {
9 + FA_REGULAR_NAME_SET,
10 + FA_SOLID_NAME_SET,
11 +} from "../../lib/fa-free-picker-icons";
9 12 import type { IconPickerValue } from "../../lib/icon-picker-types";
10 13
11 14 export type IconSelectorProvider = "yatra" | "fa-solid" | "fa-regular";
12 15
@@ -59,9 +62,8 @@
59 62 if (svg) {
60 63 return (
61 64 <span
62 65 className={`inline-flex items-center justify-center ${className}`}
63 - // eslint-disable-next-line react/no-danger -- trusted Yatra-bundled SVG from icons.json
64 66 dangerouslySetInnerHTML={{ __html: svg }}
65 67 style={sizeStyle}
66 68 />
67 69 );