# All files / src constants.js

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

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
    211x

    1x
    1x
    1x
    1x
    1x
    1x

     export const commonStyle = {
      position: 'absolute',
      top: 0,
      left: 0,
      width: '100%',
      height: '100%',
    };
    export const defaultImgPlaceholder = 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=';
    export const defaultPlaceholderColor = 'white';
    export const hiddenStyle = { visibility: 'hidden' };
    export const expendWidth = { width: '100%' };
    export const aspectRatioChildStyle = { width: '100%', height: '100%', position: 'absolute', top: 0, left: 0 };
    export const wrapperCommonStyle = {
      position: 'relative',
      overflow: 'hidden',
      display: 'flex',
      flexDirection: 'column',
      justifyContent: 'center',
      alignItems: 'center',
    };