10000 BNavBar does not support `-subtle` variants · Issue #2079 · bootstrap-vue-next/bootstrap-vue-next · GitHub
[go: up one dir, main page]

Skip to content
BNavBar does not support -subtle variants #2079
Closed
@Morgul

Description

@Morgul

Describe the bug

BNavBar (and I suspect other places) throws a Typescript error when attempting to use and of the -subtle color variants:

image

The documentation states:

Set the variant prop to one of the following values to change the background color: primary, secondary, success, info, warning, danger, dark, light, or any of the *-subtle variants.

(See here.)

Note on Reproduction

In StackBlitz I can't get it to do type inference (it thinks variant is a string), which is why the repo doesn't "show an error". But Webstorm shows the error just fine.

Reproduction

https://stackblitz.com/edit/github-qebqsr?file=src%2FApp.vue

Used Package Manager

npm

Validations

  • Have tested with the latest version. This is still alpha version and sometime things change rapidly.
  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0