mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 14:10:14 +02:00
Add favorite/rating table columns
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user