We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12e5797 commit dbeed2eCopy full SHA for dbeed2e
1 file changed
core/src/components/select-modal/select-modal.tsx
@@ -10,6 +10,7 @@ import type { CheckboxCustomEvent } from '../checkbox/checkbox-interface';
10
import type { RadioGroupCustomEvent } from '../radio-group/radio-group-interface';
11
12
import type { SelectModalOption } from './select-modal-interface';
13
+import { Theme } from 'src/interface';
14
15
@Component({
16
tag: 'ion-select-modal',
@@ -90,7 +91,7 @@ export class SelectModal implements ComponentInterface {
90
91
92
private get cancelButtonIcon(): string {
93
const theme = getIonTheme(this);
- const icons: Record<string, string> = {
94
+ const icons: Record<Theme, string> = {
95
ios: closeOutline,
96
md: closeSharp,
97
ionic: xRegular,
0 commit comments