@pk-design/react-tailwind 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2114,6 +2114,12 @@ const useIsTablet = () => {
2114
2114
  return isTablet;
2115
2115
  };
2116
2116
 
2117
+ const useIsTabletOrMobile = () => {
2118
+ const isMobile = useIsMobile();
2119
+ const isTablet = useIsTablet();
2120
+ return isMobile || isTablet;
2121
+ };
2122
+
2117
2123
  exports.Alert = Alert;
2118
2124
  exports.Badge = Badge;
2119
2125
  exports.Banner = Banner;
@@ -2171,6 +2177,7 @@ exports.useDebounce = useDebounce;
2171
2177
  exports.useDebounceFn = useDebounceFn;
2172
2178
  exports.useIsMobile = useIsMobile;
2173
2179
  exports.useIsTablet = useIsTablet;
2180
+ exports.useIsTabletOrMobile = useIsTabletOrMobile;
2174
2181
  exports.usePagination = usePagination;
2175
2182
  exports.useToast = useToast;
2176
2183
  //# sourceMappingURL=react-tailwind.cjs.js.map