@magicbe/design
Version:
React + Antd Drag Drop Visual design
25 lines (24 loc) • 842 B
JavaScript
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 { AutoComplete, Form } from "antd";
var Float = function () {
var float = [
{ value: "left" },
{ value: "right" },
{ value: "none" },
{ value: "inline-start" },
{ value: "inline-end" },
];
return (_jsx(Form.Item, __assign({ name: ["style", "float"], label: "浮动" }, { children: _jsx(AutoComplete, { options: float }) })));
};
export default Float;