Skip to content
项目

diogofcunha/react-virtualized-tree

在 GitHub 查看

关于

一个基于 React 的虚拟化树视图组件。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

react-virtualized-tree

Travis npm package Coveralls Gitter semantic-release

Introduction

react-virtualized-tree is a tree view react library built on top of react-virtualized

Its main goal is to display tree like data in a beautiful and fast way. Being a reactive library it uses children functions to achieve maximum extensibility. The core idea behind it is that anyone using it is enable to create a tree as they intent just by rendering their own components or components exported by the tree.

Demo and docs can be found in here.

Installation

You can install via npm or yarn. npm i react-virtualized-tree --save

or

yarn add react-virtualized-tree

To get the basic styles for free you need to import react-virtualized styles only once.

import 'react-virtualized/styles.css'
import 'react-virtualized-tree/lib/main.css'

If you want to use the icons in the default renderers do the same for material icons.

import 'material-icons/css/material-icons.css'

Usage

To use the standalone tree

import Tree from 'react-virtualized-tree'

To use the FilteringContainer

import { FilteringContainer } from 'react-virtualized-tree'

Dependencies

Most react-virtualized-tree Dependencies are managed internally, the only required peerDependencies are react, react-dom and react-virtualized.

探索相关项目

加载中…