All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.components.tree-view.tree-view-node-provider.js Maven / Gradle / Ivy

Go to download

A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.

The newest version!
'use client';
import { jsx } from 'react/jsx-runtime';
import { createSplitProps } from '../../utils/create-split-props.js';
import { TreeViewNodePropsProvider } from './use-tree-view-node-props-context.js';

function TreeViewNodeProvider(props) {
  const [nodeProps, localProps] = createSplitProps()(props, ["indexPath", "node"]);
  return /* @__PURE__ */ jsx(TreeViewNodePropsProvider, { value: nodeProps, children: localProps.children });
}

export { TreeViewNodeProvider };




© 2015 - 2025 Weber Informatics LLC | Privacy Policy