UNPKG

@yandex/ui

Version:

Yandex UI components

14 lines (13 loc) 443 B
import { __rest } from "tslib"; export var Group = function () { return null; }; Group.getCollectionNode = function getComponetNode(props, context) { // eslint-disable-next-line camelcase var children = props.children, label = props.label, unsafe_props = __rest(props, ["children", "label"]); return { title: label, items: context.createCollection(props.children), unsafe_props: unsafe_props, }; };