react-spectrum
47319ffb - Add support for responsive style props (#1684)

Commit
4 years ago
Add support for responsive style props (#1684) * Add responsive styleProps feature * Allow custom breakpoints * Remove @react-spectrum/provider from peerDependencies * Add default handler * Fix useStyleProps arguments * Fix breakpoint error * Add breakpoint provider * Revert useMatchedBreakpoint * Add mobileFirst props * Add a comment * Add a comment * Delete unnecessary deps * Add mobileFirst to context * Fix grid bug * Fix bug * Add tests * Remove prop for mobileFirst we will lock it to only be mobile first for now, this will make documentation easier and align us with other frameworks such as tailwind and bootstrap * update exports change interface name to match others Co-authored-by: Rob Snow <rsnow@adobe.com>
Author
Parents
Loading