<VersionSelect>
ComponentA component to handle selecting a version of docs to navigate to.
Note: VersionSelect
uses next/router
. Interacting with it in this playground
will navigate you to non-existant pages.
Name | Description |
---|---|
versions* Array | Array of version options Array members must be of the type below: |
versions[x] object | Object contains nested props, see below: |
versions[x].name string | A version’s programmatic value |
versions[x].label string | A version’s human-friendly display value |