brows3r — TypeScript API
    Preparing search index...

    Function iconForFilename

    • Return the icon component for a given filename.

      Extracts the extension (last segment after .) and delegates to iconForExtension. Dotfiles without an extension get the generic icon.

      Parameters

      • filename: string

      Returns IconComponent