mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 10:52:45 +08:00
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:
parent
11713518ef
commit
d5dd5bfb55
|
@ -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;
|
|
@ -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>
|
|
@ -1,3 +0,0 @@
|
|||
import Component from "@ember/component";
|
||||
|
||||
export default Component.extend({});
|
Loading…
Reference in New Issue
Block a user