Hiyve Components - v1.0.0
    Preparing search index...

    Function getSentimentColor

    • Get sentiment color.

      Parameters

      • sentiment: "positive" | "negative" | "neutral" | undefined

        The sentiment value

      • colors: {
            sentimentNegative: string;
            sentimentNeutral: string;
            sentimentPositive: string;
        }

        Custom colors config

      Returns string

      The appropriate color