CIA Compliance Manager API Documentation - v0.8.5

    Variable getRiskBadgeVariant

    getRiskBadgeVariant: (riskLevel: undefined | string) => StatusType

    Type declaration

      • (riskLevel: undefined | string): StatusType
      • Get badge variant based on risk level

        This utility helps visualize risk levels consistently across the application, enabling users to quickly identify the severity of risks through color-coded badges. The visual consistency reinforces risk communication standards. 📊

        Parameters

        • riskLevel: undefined | string

          String representing the risk level

        Returns StatusType

        Badge variant name for styling

    MMNEPVFCICPMFPCPTTAAATR