UNPKG

react-form-elementor

Version:

This package provide you a react based shared library to manage basic form element in react so you not waste you time doing that again and again.

20 lines (15 loc) 464 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Option = void 0; var _react = _interopRequireDefault(require("react")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var Option = function Option(props) { var value = props.value, label = props.label; return _react["default"].createElement("option", { value: value }, label); }; exports.Option = Option;