mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
15 lines
419 B
TypeScript
15 lines
419 B
TypeScript
|
|
import type { ICellRendererParams } from '@ag-grid-community/core';
|
||
|
|
import { Rating } from '/@/renderer/components/rating';
|
||
|
|
import { CellContainer } from '/@/renderer/components/virtual-table/cells/generic-cell';
|
||
|
|
|
||
|
|
export const RatingCell = ({ value }: ICellRendererParams) => {
|
||
|
|
return (
|
||
|
|
<CellContainer position="center">
|
||
|
|
<Rating
|
||
|
|
size="xs"
|
||
|
|
value={value}
|
||
|
|
/>
|
||
|
|
</CellContainer>
|
||
|
|
);
|
||
|
|
};
|