Skip to content

Commit

Permalink
refactor(soffit-pwa): radio-group
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Jan 22, 2023
1 parent 60413d1 commit be84c63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions uniquely/soffit-pwa/src/lottery-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type {AlwatrTextField} from '@alwatr/ui-kit/text-field/text-field.js';

import '@alwatr/ui-kit/text-field/text-field.js';
import '@alwatr/ui-kit/button/button.js';
import './fieldset.js';
import './radio-group.js';

declare global {
interface HTMLElementTagNameMap {
Expand Down Expand Up @@ -122,7 +122,7 @@ export class AlwatrLotteryForm extends AlwatrSmartElement {
stated
placeholder="شماره موبایل"
></alwatr-text-field>
<alwatr-fieldset></alwatr-fieldset>
<alwatr-radio-group></alwatr-radio-group>
<alwatr-button @click=${this._submit} outlined>ارسال فرم</alwatr-button>
`;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {customElement, css, html, map, AlwatrDummyElement} from '@alwatr/element

declare global {
interface HTMLElementTagNameMap {
'alwatr-fieldset': AlwatrFieldSet;
'alwatr-radio-group': AlwatrFieldSet;
}
}

Expand All @@ -11,7 +11,7 @@ const _activityType = ['پخش کننده تایل', 'نصاب تایل', 'فر
/**
* Alwatr fieldset element
*/
@customElement('alwatr-fieldset')
@customElement('alwatr-radio-group')
export class AlwatrFieldSet extends AlwatrDummyElement {
static override styles = css`
fieldset {
Expand Down

0 comments on commit be84c63

Please sign in to comment.