UNPKG

@procore/core-react

Version:
19 lines (18 loc) 914 B
import { Form as FormikForm } from 'formik'; import styled, { css } from 'styled-components'; import { Typography } from '../Typography'; import { spacing } from '../_styles/spacing'; import { formWrapper } from './Form.styles'; export var StyledFormikForm = /*#__PURE__*/styled(FormikForm).withConfig({ displayName: "StyledFormikForm", componentId: "core-12_44_0__sc-1ks7m0l-0" })(["", ""], formWrapper); /** @deprecated The traditional field layout is deprecated */ export var StyledTraditionalFormLabel = /*#__PURE__*/styled(Typography).withConfig({ displayName: "StyledTraditionalFormLabel", componentId: "core-12_44_0__sc-1ks7m0l-1" })(["display:inline-block;word-break:break-word;word-wrap:break-word;", ""], function (_ref) { var $view = _ref.$view; return ['create', 'update'].includes($view) && css(["padding-top:", "px;"], spacing.sm); }); //# sourceMappingURL=StyledFormikForm.styles.js.map