DEV: migrates empty-state to gjs (#27857)

Technically there was a wrapping div here, but that shouldn't be necessary.
This commit is contained in:
Joffrey JAFFEUX 2024-07-11 11:53:05 +02:00 committed by GitHub
parent 11713518ef
commit d5dd5bfb55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 11 deletions

View File

@ -0,0 +1,12 @@
const EmptyState = <template>
<div class="empty-state-container">
<div class="empty-state">
<span data-test-title class="empty-state-title">{{@title}}</span>
<div class="empty-state-body">
<p data-test-body>{{@body}}</p>
</div>
</div>
</div>
</template>;
export default EmptyState;

View File

@ -1,8 +0,0 @@
<div class="empty-state-container">
<div class="empty-state">
<span data-test-title class="empty-state-title">{{@title}}</span>
<div class="empty-state-body">
<p data-test-body>{{@body}}</p>
</div>
</div>
</div>

View File

@ -1,3 +0,0 @@
import Component from "@ember/component";
export default Component.extend({});