You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide an option to dismiss or close a component with `<CButtonClose>`. Default styling is limited, but highly customizable. Modify the Sass variables to replace the default `background-image`.
14
+
Provide an option to dismiss or close a component with `<CCloseButton>`. Default styling is limited, but highly customizable. Modify the Sass variables to replace the default `background-image`.
15
15
16
16
<Playground>
17
-
<CButtonClose/>
17
+
<CCloseButton/>
18
18
</Playground>
19
19
20
20
## Disabled state
21
21
22
22
Disabled close buttons change their `opacity`. We've also applied `pointer-events: none` and `user-select: none` to preventing hover and active states from triggering.
23
23
24
24
<Playground>
25
-
<CButtonClosedisabled/>
25
+
<CCloseButtondisabled/>
26
26
</Playground>
27
27
28
28
## White variant
29
29
30
-
Change the default `<CButtonClose>` to be white with the `white` boolean property.
30
+
Change the default `<CCloseButton>` to be white with the `white` boolean property.
0 commit comments