UNPKG

@kenshooui/react-tree

Version:

React Tree is a straight forward component that allows a user to display and manage a hierarchical structure of items in a clear and comfortable way.

15 lines (12 loc) 328 B
/** @jsx jsx */ import { jsx } from "@emotion/core"; import React from "react"; const TreeContainerRenderer = props => { const { containerRef, getStyles, children } = props; return ( <div ref={containerRef} css={getStyles("container", props)}> {children} </div> ); }; export default TreeContainerRenderer;