Skip to content

Commit 093d9a0

Browse files
authored
Add disabled property to the toggleConfig type (#33)
* Add `disabled` property to the `toggleConfig` type * Make `toggleConfig.disabled` optional
1 parent 0c7df23 commit 093d9a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/ng-toggle/src/lib/ng-toggle.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ export const translate = (x, y) => {
228228
export type toggleConfig = {
229229
checked: string;
230230
unchecked: string;
231+
disabled?: string;
231232
};
232233

233234
export type valueConfig = {

0 commit comments

Comments
 (0)