Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 20x 90x 6x 84x 84x 84x 84x | export const getDeviceConfig = width => { if (width < 640) { return 'xs'; } else Iif (width >= 640 && width < 768) { return 'sm'; } else Iif (width >= 768 && width < 1024) { return 'md'; } else if (width >= 1024 && width < 1280) { return 'lg'; } else Eif (width >= 1280 && width < 1536) { return 'xl'; } else if (width >= 1536) { return '2xl'; } } |