2023-11-04 14:54:30 +01:00
|
|
|
import templateOnlyComponent from '@ember/component/template-only';
|
|
|
|
|
|
|
|
interface SaveButtonSignature {
|
|
|
|
Args: {
|
|
|
|
Named: {
|
|
|
|
isPending: boolean;
|
2023-11-05 12:19:47 +01:00
|
|
|
onClick?: () => void;
|
2023-11-04 14:54:30 +01:00
|
|
|
};
|
|
|
|
};
|
2023-11-05 12:19:47 +01:00
|
|
|
Blocks: {
|
|
|
|
default: [];
|
|
|
|
};
|
2023-11-04 14:54:30 +01:00
|
|
|
Element: HTMLButtonElement;
|
|
|
|
}
|
|
|
|
|
|
|
|
const SaveButton = templateOnlyComponent<SaveButtonSignature>();
|
|
|
|
|
|
|
|
export default SaveButton;
|
|
|
|
|
|
|
|
declare module '@glint/environment-ember-loose/registry' {
|
|
|
|
export default interface Registry {
|
|
|
|
SaveButton: typeof SaveButton;
|
|
|
|
}
|
|
|
|
}
|