# All files / src/Grid Grid.constants.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

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
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29

    6x

    6x

    6x

     import { GridBreakpoint } from './Grid.types'

    export const breakpointRawMinWidthValues: Record<GridBreakpoint, number> = {
      mobileLg: 0,
      tabletSm: 576,
      tabletMd: 768,
      tabletLg: 992,
      desktopSm: 1200,
      desktopMd: 1400,
    }

    export const breakpointMinWidthValues: Record<GridBreakpoint, string> = {
      mobileLg: `${breakpointRawMinWidthValues.mobileLg}px`,
      tabletSm: `${breakpointRawMinWidthValues.tabletSm}px`,
      tabletMd: `${breakpointRawMinWidthValues.tabletMd}px`,
      tabletLg: `${breakpointRawMinWidthValues.tabletLg}px`,
      desktopSm: `${breakpointRawMinWidthValues.desktopSm}px`,
      desktopMd: `${breakpointRawMinWidthValues.desktopMd}px`,
    }

    export const breakpointsSmallToLarge: GridBreakpoint[] = [
      'mobileLg',
      'tabletSm',
      'tabletMd',
      'tabletLg',
      'desktopSm',
      'desktopMd',
    ]