useMediaQuery & useDeviceDetection
Description
These hooks help in detecting screen sizes and device types for responsive UI design.
useMediaQuery(query: string)
This hook listens to media queries and returns true
or false
based on the match.
useDeviceDetection()
This hook detects if the user is on a mobile or tablet device.
Example Usage
Useful Links
🔗 GitHub Repository (Core): Liberty Core
🔗 GitHub Repository (Test Project): Liberty Test
📖 Live Documentation: Liberty Core Docs
💖 Sponsor & Support: Sponsor Liberty Core