Skip to content

Support string breakpoint values - #38

Merged
heyitsarpit merged 1 commit into
mainfrom
fix/breakpoint-string-values
Jun 24, 2026
Merged

heyitsarpit merged 1 commit into
mainfrom
fix/breakpoint-string-values

Conversation

@heyitsarpit

Copy link
Copy Markdown
Owner

Summary

  • Allows BreakPointHooks to accept breakpoint values as either numbers or strings.
  • Keeps existing numeric behavior by converting numbers to pixel values.
  • Passes string values through unchanged for rem/px/custom unit breakpoints.
  • Adds coverage for numeric and string breakpoint query generation.

Closes #36.

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-hooks-library Error Error Jun 24, 2026 12:18pm

@heyitsarpit
heyitsarpit merged commit 8653fb8 into main Jun 24, 2026
1 of 3 checks passed
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.

Support for string-based values in BreakPointHooks

1 participant