brows3r — TypeScript API
    Preparing search index...

    Function iconForExtension

    • Return the icon component for a given file extension.

      Parameters

      • ext: string | null | undefined

        Lowercase extension without the leading dot (e.g. "ts"). Accepts null/undefined and falls back to the generic file icon.

      Returns IconComponent