discourse/app/assets/javascripts/admin/addon/components/install-theme-item.gjs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
577 B
Plaintext
Raw Normal View History

import RadioButton from "discourse/components/radio-button";
import dIcon from "discourse-common/helpers/d-icon";
import { i18n } from "discourse-i18n";
const InstallThemeItem = <template>
<div class="install-theme-item">
<RadioButton
@name="install-items"
@id={{@value}}
@value={{@value}}
@selection={{@selection}}
/>
<label class="radio" for={{@value}}>
{{#if @showIcon}}
{{dIcon "plus"}}
{{/if}}
{{i18n @label}}
</label>
{{dIcon "caret-right"}}
</div>
</template>;
export default InstallThemeItem;