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.

11 lines (8 loc) 253 B
/** @jsx jsx */ import { jsx } from "@emotion/core"; import React from "react"; const ItemsRenderer = props => { const { getStyles, children } = props; return <div css={getStyles("items", props)}>{children}</div>; }; export default ItemsRenderer;