@algoux/standard-ranklist-renderer-component
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

@algoux/standard-ranklist-renderer-component

The srk renderer component.

This package only includes the implementation for React.

Supported srk versions: >=0.3.0 && <=0.3.4.

For older srk version support, please install older version of this package.

Installation

npm i -D @algoux/standard-ranklist
npm i -S @algoux/standard-ranklist-renderer-component rc-dialog

Usage

import { Ranklist, convertToStaticRanklist } from '@algoux/standard-ranklist-renderer-component';
import '@algoux/standard-ranklist-renderer-component/dist/style.css';
import 'rc-dialog/assets/index.css';

export default function RanklistPage() {
  return <Ranklist data={convertToStaticRanklist(srkData)} />;
}

Package Sidebar

Install

npm i @algoux/standard-ranklist-renderer-component

Weekly Downloads

1

Version

0.4.3

License

MIT

Unpacked Size

121 kB

Total Files

10

Last publish

Collaborators

  • dreamerblue