Skip to content

feat(directory): copy icon names on click - #1925

Open
huytdps13400 wants to merge 1 commit into
oblador:masterfrom
huytdps13400:fix/1904-copy-icon-name
Open

feat(directory): copy icon names on click#1925
huytdps13400 wants to merge 1 commit into
oblador:masterfrom
huytdps13400:fix/1904-copy-icon-name

Conversation

@huytdps13400

Copy link
Copy Markdown

Summary

  • make each directory icon card a semantic button that copies its icon name
  • show hover/focus guidance and accessible copied feedback for 1.8 seconds
  • add regression coverage for clipboard writes and feedback reset

Closes #1904

Verification

  • CI=true pnpm --filter @react-native-vector-icons/directory test --watchAll=false — 2 tests passed
  • pnpm run lint:biome — 280 files checked
  • pre-commit knip — no issues
  • TSC_COMPILE_ON_ERROR=true pnpm --filter @react-native-vector-icons/directory build — production bundle built; the existing TS2882 warnings for CSS side-effect imports remain
  • browser verification — keyboard-accessible button, copied feedback/reset, and clean console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Directory] Add copy-to-clipboard when clicking an icon

1 participant