remix-forms
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -11,3 +11,3 @@ "use strict"; | ||
return react_1.default.forwardRef(({ name, label, options, errors, value, children: childrenFn, ...props }, ref) => { | ||
const selectChildren = (options === null || options === void 0 ? void 0 : options.length) | ||
const selectChildren = options | ||
? options.map(({ name, value }) => ((0, jsx_runtime_1.jsx)("option", { value: value, children: name }, String(value)))) | ||
@@ -14,0 +14,0 @@ : undefined; |
{ | ||
"name": "remix-forms", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Magically create forms + actions in Remix!", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
23450