@cashub/ui 0.43.9 → 0.43.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/form/FormItem.js +6 -1
- package/package.json +1 -1
package/form/FormItem.js
CHANGED
|
@@ -8,5 +8,10 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
8
8
|
var _templateObject;
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
11
|
-
const FormItem = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-bottom: var(--spacing);\n"]))
|
|
11
|
+
const FormItem = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin-bottom: var(--spacing);\n\n ", "\n"])), _ref => {
|
|
12
|
+
let {
|
|
13
|
+
alignCenter
|
|
14
|
+
} = _ref;
|
|
15
|
+
return alignCenter && "\n display: flex;\n align-items: center;\n ";
|
|
16
|
+
});
|
|
12
17
|
var _default = exports.default = FormItem;
|