@@ -29,4 +29,4 @@ const TpkCheckboxPrefabComponent: TOC =
-export default TpkCheckboxPrefabComponent;
+export default TpkTogglePrefabComponent;
diff --git a/packages/ember-input/src/components/tpk-button.gts b/packages/ember-input/src/components/tpk-button.gts
index 48584d05..536e6a20 100644
--- a/packages/ember-input/src/components/tpk-button.gts
+++ b/packages/ember-input/src/components/tpk-button.gts
@@ -11,6 +11,8 @@ export type TpkButtonSignature = {
BaseUIComponentArgs['Args'],
{
allowSpam?: boolean;
+ disabled?: boolean;
+ class?: string;
onClick?: (e: Event) => void | Promise;
}
>;
@@ -34,9 +36,14 @@ export default class TpkButtonComponent extends Component {
return this.args.onClick?.(e);
});
+ get disabled() {
+ return this.args.disabled ?? false;
+ }
+