mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 07:33:43 +08:00
17 lines
475 B
Plaintext
17 lines
475 B
Plaintext
|
import Component from "@glimmer/component";
|
||
|
import { tracked } from "@glimmer/tracking";
|
||
|
import i18n from "discourse-common/helpers/i18n";
|
||
|
|
||
|
export default class AdminConfigAreaCard extends Component {
|
||
|
@tracked collapsed = false;
|
||
|
|
||
|
<template>
|
||
|
<section class="admin-config-area-card">
|
||
|
<h3 class="admin-config-area-card__title">{{i18n @heading}}</h3>
|
||
|
<div class="admin-config-area-card__content">
|
||
|
{{yield}}
|
||
|
</div>
|
||
|
</section>
|
||
|
</template>
|
||
|
}
|