Closed
Description
Feature request
What problem does this feature solve?
When using warning custom containers, we write like this:
::: warning
This is a warning
:::
and when using warn(warning) Badge, we write like this:
<Badge text="beta" type="warn"/>
in custom containers is warning
but in built-in component Badge is warn
, why?
What does the proposed API look like?
<!-- use warning rather than warn -->
<Badge text="beta" type="warning"/>
How should this be implemented in your opinion?
use warning
as a optional value in built-in component Badge
rather than warn
.
Are you willing to work on this yourself?
No.