Martin Brennan 7fd9550f64
DEV: Change dIcon to icon in components (#31083)
Apparently `icon` is the preferred nomenclature
2025-01-31 10:55:31 +10:00

24 lines
567 B
Plaintext

import RadioButton from "discourse/components/radio-button";
import icon from "discourse/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}}
{{icon "plus"}}
{{/if}}
{{i18n @label}}
</label>
{{icon "caret-right"}}
</div>
</template>;
export default InstallThemeItem;