react-virtualized
Version:
React components for efficiently rendering large, scrollable lists and tabular data
42 lines (41 loc) • 946 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>foo</title>
<link rel="stylesheet" type="text/css" href="../styles.css" />
<style type="text/css">
body, html, #mount {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-family: monospace;
}
* {
box-sizing: border-box;
}
ul {
margin: 0;
list-style: none;
}
li {
}
.item {
height: 20px;
display: flex;
flex-direction: column;
justify-content: center;
white-space: pre;
user-select: none;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-with-addons.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-dom.min.js"></script>
<script src="../dist/umd/react-virtualized.js"></script>
</head>
<body>
<div id="mount"></div>
<script src="tree.js"></script>
</body>
</html>