'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var FieldContent = _styledComponents2.default.div.withConfig({
  displayName: 'FieldContent'
})(['display:flex;flex-direction:column;& > *{margin:', ';}'], function (props) {
  switch (props.align) {
    case 'left':
      return 'auto auto auto 0';
    case 'right':
      return 'auto 0 auto auto';
    default:
      return 'auto 0 auto 0';
  }
});

exports.default = FieldContent;