change selected files translate and add count
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user