UNPKG

@magicbe/design

Version:

React + Antd Drag Drop Visual design

29 lines (28 loc) 1.04 kB
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; import { jsx as _jsx } from "react/jsx-runtime"; import { Form, Select } from "antd"; var FontWeight = function () { var options = [ { label: "100", value: 100 }, { label: "200", value: 200 }, { label: "300", value: 300 }, { label: "400", value: 400 }, { label: "500", value: 500 }, { label: "600", value: 600 }, { label: "700", value: 700 }, { label: "800", value: 800 }, { label: "900", value: 900 }, ]; return (_jsx(Form.Item, __assign({ name: ["style", "fontWeight"], label: "字重" }, { children: _jsx(Select, { options: options }) }))); }; export default FontWeight;