import { faFileImport, faFingerprint, faFolder, faKey, faRotate } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Tooltip } from "@app/components/v2"; type Props = { folderCount?: number; importCount?: number; secretCount?: number; dynamicSecretCount?: number; secretRotationCount?: number; }; export const SecretTableResourceCount = ({ folderCount = 0, dynamicSecretCount = 0, secretCount = 0, importCount = 0, secretRotationCount = 0 }: Props) => { return (
{importCount > 0 && ( Total import count{" "} (matching filters)

} >
{importCount}
)} {folderCount > 0 && ( Total folder count{" "} (matching filters)

} >
{folderCount}
)} {dynamicSecretCount > 0 && ( Total dynamic secret count{" "} (matching filters)

} >
{dynamicSecretCount}
)} {secretRotationCount > 0 && ( Total secret rotation count{" "} (matching filters)

} >
{secretRotationCount}
)} {secretCount > 0 && ( Total secret count{" "} (matching filters)

} >
{secretCount}
)}
); };