mirror of https://github.com/portainer/portainer
10 lines
225 B
TypeScript
10 lines
225 B
TypeScript
|
interface SelectedRowsCountProps {
|
||
|
value: number;
|
||
|
}
|
||
|
|
||
|
export function SelectedRowsCount({ value }: SelectedRowsCountProps) {
|
||
|
return value !== 0 ? (
|
||
|
<div className="infoBar">{value} item(s) selected</div>
|
||
|
) : null;
|
||
|
}
|