Home > @shopware-pwa/helpers > mapSalutations

# mapSalutations() function

Map available salutations to (name: string, id: string) format

Signature:

export declare function mapSalutations(salutations: Salutation[]): MappedSalutation[];

# Parameters

Parameter Type Description
salutations Salutation[]

Returns:

MappedSalutation[]

MappedSalutations