# All files / components/Modal/styles ButtonContainer.js

0% Statements 0/13
0% Branches 0/8
0% Functions 0/2
0% Lines 0/7

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18

     import Horizontal from 'layouts/Horizontal';

    const ButtonContainer = Horizontal.extend`
      justify-content: ${props => {
        switch (props.align) {
          case 'center':
            return 'center';
          case 'right':
            return 'flex-end';
          case 'left':
          default:
            return 'flex-start';
        }
      }};
    `;

    export default ButtonContainer;