@algoux/standard-ranklist-renderer-component
v0.4.3
Published
Standard Ranklist Renderer Component
Downloads
36
Maintainers
Readme
@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)} />;
}