jelhan/croodle

View on GitHub
app/components/save-button.ts

Summary

Maintainability
A
0 mins
Test Coverage
import templateOnlyComponent from '@ember/component/template-only';

interface SaveButtonSignature {
  Args: {
    Named: {
      isPending: boolean;
      onClick?: () => void;
    };
  };
  Blocks: {
    default: [];
  };
  Element: HTMLButtonElement;
}

const SaveButton = templateOnlyComponent<SaveButtonSignature>();

export default SaveButton;

declare module '@glint/environment-ember-loose/registry' {
  export default interface Registry {
    SaveButton: typeof SaveButton;
  }
}