Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E Embedded Genesys UI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Embedded Genesys UI
  • Issues
  • #21
Closed
Open
Issue created Nov 20, 2020 by Matija Obreza@mobrezaOwner

CountryName component

We now set countryCodes in all components that use it, but it would be more helpful to have a simple component <CountryName code3={ 'MEX' } /> that uses codes from Redux.

Something like:

const countryCode = (code3: string, countryCodes) => ( { countryCodes && countryCodes[code3] || null } );

const CountryCode = connect(mapStateToProps)(countryCode);
export { CountryCode };
Edited Nov 20, 2020 by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking