mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 20:43:50 +08:00
32665cf9dd
Enables our new eslint rules which enforce consistent i18n imports. For more info, see 0d58b40cd7
24 lines
577 B
Plaintext
24 lines
577 B
Plaintext
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;
|