executer.js 465 B

1234567891011
  1. import { flex } from './flex';
  2. import { grid } from './grid';
  3. export default (function (container, children, config) {
  4. if (children.length === 0)
  5. return [];
  6. var callers = { flex: flex, grid: grid };
  7. var caller = config.display in callers ? callers[config.display] : null;
  8. // @ts-ignore
  9. return (caller === null || caller === void 0 ? void 0 : caller.call(null, container, children, config)) || [];
  10. });
  11. //# sourceMappingURL=executer.js.map