"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Fieldset = exports.StyledFormLabel = void 0;
const FormLabel_1 = require("../FormLabel");
const styled_1 = require("../styled");
exports.StyledFormLabel = (0, styled_1.styled)(FormLabel_1.FormLabel) `
  margin-bottom: ${({ theme }) => theme.spacing(3)};  
`;
exports.Fieldset = (0, styled_1.styled)('fieldset', {
    shouldForwardProp: (prop) => !['$row'].includes(prop),
}) `
  display: flex;
  flex-flow: wrap;
  flex-direction: ${({ $row }) => ($row ? 'row' : 'column')};

  margin: 0;
  padding: 0;

  border: unset;
`;
