• Parameters

    • key: string = ""

    Returns (obj?: Record<string, string>) => { label: undefined | string }