Skip to content

Commit dbeed2e

Browse files
fix(select-modal): type
1 parent 12e5797 commit dbeed2e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/src/components/select-modal/select-modal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import type { CheckboxCustomEvent } from '../checkbox/checkbox-interface';
1010
import type { RadioGroupCustomEvent } from '../radio-group/radio-group-interface';
1111

1212
import type { SelectModalOption } from './select-modal-interface';
13+
import { Theme } from 'src/interface';
1314

1415
@Component({
1516
tag: 'ion-select-modal',
@@ -90,7 +91,7 @@ export class SelectModal implements ComponentInterface {
9091

9192
private get cancelButtonIcon(): string {
9293
const theme = getIonTheme(this);
93-
const icons: Record<string, string> = {
94+
const icons: Record<Theme, string> = {
9495
ios: closeOutline,
9596
md: closeSharp,
9697
ionic: xRegular,

0 commit comments

Comments
 (0)