Skip to content

Conversation

@spencrmartin
Copy link
Collaborator

  • Replace React.HTMLAttributes with React.ComponentPropsWithoutRef<'span'>
  • This avoids the HTMLSpanElement global type dependency while maintaining the same functionality
  • React.ComponentPropsWithoutRef<'span'> provides the same span element props without requiring DOM globals

Fixes the no-undef lint error for HTMLSpanElement.

- Replace React.HTMLAttributes<HTMLSpanElement> with React.ComponentPropsWithoutRef<'span'>
- This avoids the HTMLSpanElement global type dependency while maintaining the same functionality
- React.ComponentPropsWithoutRef<'span'> provides the same span element props without requiring DOM globals

Fixes the no-undef lint error for HTMLSpanElement.
@spencrmartin spencrmartin marked this pull request as ready for review August 19, 2025 17:32
@spencrmartin spencrmartin merged commit 434b948 into spence/ui-muse Aug 19, 2025
4 checks passed
@spencrmartin spencrmartin deleted the chore/lint4 branch August 19, 2025 17:32
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.

2 participants