change selected files translate and add count

This commit is contained in:
smanylov
2026-04-09 15:24:37 +07:00
parent 2af7c12cf6
commit 1eff2d2c0a
4 changed files with 44 additions and 20 deletions
@@ -26,23 +26,32 @@ export function SelectedFilesAction({ filesId, callBack }: { filesId: Set<string
<div
className="selected-files-wrapper"
>
<div
className="selected-files-count"
>
{t('selected-files')}: {filesId.size}
</div>
<button
className="btn btn-primary"
onClick={() => {
downloadHandler();
}}
<div
className="selected-files-action"
>
{t('download')}
</button>
<button
className="btn btn-primary"
onClick={() => {
clearHandler();
}}
>
{t('cancel')}
</button>
<button
className="btn btn-primary"
onClick={() => {
downloadHandler();
}}
>
{t('download-all')}
</button>
<button
className="btn btn-primary"
onClick={() => {
clearHandler();
}}
>
{t('deselect')}
</button>
</div>
</div>
)
}