@aiwizo/react-resource-list
v0.5.0
Published
## Installation
Downloads
19
Keywords
Readme
React Resource List
Installation
npm install @aiwizo/react-resource-list
Basic Usage
import ResourceList from '@codewell/react-resource-list';
const resources = [/* resources... */];
const SomeComponent = (props) => {
return (
<ResourceList
resources={resources}
onResourceSelect={(resource) => {...}}
onAnnotationSelect={({resource, annotation}) => {...}}
onAnnotationDelete={({resource, annotation}) => {...}}
/>
);
};