Displays a badge with an icon and label for Fleet MDM software source types, mapping all osquery source identifiers to human-readable names with platform-appropriate icons. ## Key Components - **`SoftwareSource`** — Union type of all 18 supported Fleet MDM software source strings - **`SoftwareSourceBadgeProps`** — Props interface accepting `source` and optional `className` - **`sourceConfig`** — Internal mapping of each source type to a label and platform icon (macOS, Windows, Linux, or generic Package) - **`SoftwareSourceBadge`** — Main component rendering an inline icon + label span; falls back to a `PackageIcon` with the raw source string if the type is unrecognized ## Usage Example ```typescript import { SoftwareSourceBadge } from './SoftwareSourceBadge' // macOS application // → 🍎 App // Linux package manager // → 🐧 APT // Windows package // → 🪟 Chocolatey // With custom styling ``` ## Source-to-Platform Mapping | Platform | Sources | |----------|---------| | macOS | `apps`, `homebrew_packages` | | Windows | `chocolatey_packages`, `programs` | | Linux | `apt_sources`, `deb_packages`, `rpm_packages`, `yum_sources`, `portage_packages` | | Generic | All browser extensions, `npm_packages`, `python_packages`, `atom_packages`, `vscode_extensions`, `pkg_packages` |