Skip to content

nextml-code/react-resource-list

Repository files navigation

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}) => {...}}
    />
  );
};

About

React component for listing resources

Resources

License

Stars

Watchers

Forks

Packages

No packages published