UNPKG

react-lazy-paginated-tree

Version:

Customizable React Tree-View with Lazy Loading and Pagination

14 lines (10 loc) 299 B
// @flow import React from 'react'; import MUIList from '@material-ui/core/List'; import type { ListProps } from '../types'; const List = ({ theme, children }: ListProps) => ( <MUIList style={theme.listStyle} className={theme.listClassName}> {children} </MUIList> ); export default List;