UNPKG

@mentor-apm/react-sortable-tree

Version:

Drag-and-drop sortable component for nested data and hierarchies

25 lines (21 loc) 453 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = normalizeOptions; var _helperValidatorOption = require("@babel/helper-validator-option"); const v = new _helperValidatorOption.OptionValidator("@babel/preset-flow"); function normalizeOptions(options = {}) { let { all } = options; const { allowDeclareFields } = options; { return { all, allowDeclareFields }; } }