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

    Interface GainControlLabels

    Customizable text labels for the GainControl component.

    All text displayed in the GainControl can be customized through this interface. This enables full internationalization (i18n) support.

    const germanLabels: Partial<GainControlLabels> = {
    mute: 'Stummschalten',
    unmute: 'Stummschaltung aufheben',
    formatValue: (value) => `${Math.round(value)} %`,
    };

    <GainControl labels={germanLabels} onChange={handleChange} />
    interface GainControlLabels {
        formatValue: (value: number) => string;
        mute: string;
        unmute: string;
    }
    Index

    Properties

    formatValue: (value: number) => string

    Function to format the displayed value

    mute: string

    Tooltip text for mute action

    unmute: string

    Tooltip text for unmute action