use-breakpoint-value
v1.0.6
Published
`npm install --save use-breakpoint-value`
Downloads
5
Readme
use-breakpoint-value
npm install --save use-breakpoint-value
yarn add use-breakpoint-value
import useBreakpointValue from 'use-breakpoint-value';
const responsiveValue = useBreakpointValue({
xs: 'xs-value',
sm: 'sm-value',
md: 'md-value',
lg: 'lg-value',
xl: 'xl-value',
xxl: 'xxl-value',
});