Skip to content

Commit abdef12

Browse files
committed
refactor(button-close): readonly signals
1 parent 377982d commit abdef12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/coreui-angular/src/lib/button/button-close.directive.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ export class ButtonCloseDirective extends ButtonDirective {
2222
* @type boolean
2323
* @deprecated 5.0.0. Use `cButtonClose.dark` instead.
2424
*/
25-
white: InputSignalWithTransform<boolean, unknown> = input(false, { transform: booleanAttribute });
25+
readonly white: InputSignalWithTransform<boolean, unknown> = input(false, { transform: booleanAttribute });
2626

27-
override hostClasses = computed(() => {
27+
override readonly hostClasses = computed(() => {
2828
return {
2929
btn: true,
3030
'btn-close': true,

0 commit comments

Comments
 (0)