Skip to content

Commit 248dad7

Browse files
committed
fix: added css class for CheckBox
1 parent 4880b8b commit 248dad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/checkbox/common.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, Color, CssProperty, Property, Style, booleanConverter } from '@nativescript/core';
1+
import { Button, Color, CSSType, CssProperty, Property, Style, booleanConverter } from '@nativescript/core';
22
import { CheckBoxInterface } from '.';
33
export enum BoxType {
44
circle = 'circle',
@@ -37,6 +37,7 @@ export const checkedProperty = new Property<CheckBoxBase, boolean>({
3737
// valueChanged: onCheckedPropertyChanged
3838
});
3939

40+
@CSSType('CheckBox')
4041
export abstract class CheckBoxBase extends Button implements CheckBoxInterface {
4142
checked: boolean;
4243
boxType: any;

0 commit comments

Comments
 (0)