Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - pankod/react-hooks-screen-type: Determining screen size type for Bootstrap 4 grid.
Determining screen size type for Bootstrap 4 grid. - pankod/react-hooks-screen-type
Visit SiteGitHub - pankod/react-hooks-screen-type: Determining screen size type for Bootstrap 4 grid.
Determining screen size type for Bootstrap 4 grid. - pankod/react-hooks-screen-type
Powered by 0x5a.live ๐
About
This package is useful for determining screen size type on web applications with respect to bootstrap 4 grid system.
Install
npm i react-hooks-screen-type
Or
yarn add react-hooks-screen-type
Usage
import useScreenType from 'react-hooks-screen-type';
function MyAwesomeComponent() {
const screenType = useScreenType();
// can be "x-small, small, medium, large, x-large"
}
License
Licensed under the MIT License, Copyright ยฉ 2018-present Pankod
Made with โค๏ธ
to provide different kinds of informations and resources.