vant-fork
Version:
Lightweight Mobile UI Components built on Vue
21 lines (19 loc) • 481 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
/**
* Create a component with common options
*/
import createBasic from './create-basic';
import Icon from '../icon';
import Loading from '../loading';
import Cell from '../cell';
import CellGroup from '../cell-group';
export default function (sfc) {
sfc.components = _extends(sfc.components || {}, {
Icon: Icon,
Loading: Loading,
Cell: Cell,
CellGroup: CellGroup
});
return createBasic(sfc);
}
;