| @@ -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 | ); |