Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Translate non-string values in the <Dropdown.Native> #307

Description

@caillou

The <Dropdown.Native> abstraction is leaky. Currently, only string values work.

Ideally, users of the style-guide should not care about this, e.g.: orbiting/republik-admin-frontend#59 (comment)

if (typeof value !== 'string') {
  // map a random ID to the value.
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions