-
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add current song styles for all song tables
- Loading branch information
Showing
8 changed files
with
190 additions
and
15 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/renderer/components/virtual-table/cells/row-index-cell.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import type { ICellRendererParams } from '@ag-grid-community/core'; | ||
import { Text } from '/@/renderer/components/text'; | ||
import { CellContainer } from '/@/renderer/components/virtual-table/cells/generic-cell'; | ||
|
||
export const RowIndexCell = ({ value }: ICellRendererParams) => { | ||
return ( | ||
<CellContainer $position="right"> | ||
<Text | ||
$secondary | ||
align="right" | ||
className="current-song-child current-song-index" | ||
overflow="hidden" | ||
size="md" | ||
> | ||
{value} | ||
</Text> | ||
</CellContainer> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.