-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
In antdv we can pass prop 'type' in AButton
that prop is used to create a class of button
with type="secondary" the button will have class 'ant-btn-secondary'
so we can style by this class
but it generates a warning about the wrong prop type
styles of secondary button was created by
.ant-btn-secondary { .button-variant-primary(@purple-1; @purple-6) !important; }
What does the proposed API look like?
The type of button should have the possibility to add customization without creating a warning