react-hateoas-resource-filter-list
v0.2.2
Published
A react library that renders a filterable, sortable and pageable table that represents a HATEOAS resource that exposes a list.
Downloads
494
Readme
react hateoas resource filter list
Description
A react library that renders a filterable, sortable and pageable table that represents a HATEOAS resource that exposes a list.
Install
npm install --save react-hateoas-resource-filter-list
Usage
import React from "react";
import { EntityFilterList } from "react-hateoas-resource-filter-list";
import { EntityTableDefinition } from "react-hateoas-resource-filter-list";
const ResourceList = () => {
return (
<React.Fragment>
<EntityFilterList
tableDef={tableDef}
resourceUrl={resourceUrl}
paged={true} />
</React.Fragment>
);
};
License
ISC © aydanmjsmith