Skip to content

@tabler/icons-react-native@3.34.1: Broken subpath importsΒ #1383

@tranhl

Description

@tranhl

Description

Support for subpath imports in @tabler/icons-react-native added in #1373 appears to be broken in v3.34.1. I suspect this is due missing type definitions for each subpath due to changes in #1382. Happy to submit a PR to fix this.

Package

  • @tabler/icons
  • @tabler/icons-eps
  • @tabler/icons-pdf
  • @tabler/icons-png
  • @tabler/icons-webfont
  • @tabler/icons-sprite
  • @tabler/icons-preact
  • @tabler/icons-react
  • @tabler/icons-react-native
  • @tabler/icons-solid
  • @tabler/icons-svelte
  • @tabler/icons-vue
  • Figma plugin
  • source/main
  • other/not relevant

Version

3.34.1

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Steps to reproduce

  1. Install 3.34.1
  2. Attempt to import icon from subpath: import IconCheck from '@tabler/icons-react-native/IconCheck
  3. TypeScript errors out with: Could not find a declaration file for module '@tabler/icons-react-native/IconCheck'

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions