baseui
Version:
A React Component library implementing the Base design language
27 lines (23 loc) • 862 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _column = _interopRequireDefault(require("./column"));
var _constants = require("./constants");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/*
Copyright (c) Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
// I could not re-use the ColumnT type to build this.. tried to spread the ColumnT
// and define renderFilter, etc. to optional, but required status was maintained.
function CustomColumn(options) {
// @ts-expect-error todo(flow->ts) types does not much
return (0, _column.default)({
kind: _constants.COLUMNS.CUSTOM,
...options
});
}
var _default = exports.default = CustomColumn;