Skip to content

Commit 8cd84c7

Browse files
committed
Update index.tsx
1 parent 8f73bcc commit 8cd84c7

1 file changed

Lines changed: 27 additions & 28 deletions

File tree

  • samples/maps/geo-map/display-azure-imagery/src

samples/maps/geo-map/display-azure-imagery/src/index.tsx

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -133,34 +133,33 @@ export default class MapDisplayImageryAzure extends React.Component<any, any> {
133133
)}
134134
</div>
135135

136-
{/* Dialog always floats above */}
137-
<IgrDialog title="Azure Key" ref={this.onDialogRef} className="igr-dialog">
138-
<IgrInput
139-
label="An image will remain visible when no key is entered."
140-
value={this.state.apiKey}
141-
inputMode="text"
142-
onInput={this.onApiKeyChange}
143-
/>
144-
<div
145-
slot="footer"
146-
style={{
147-
display: "flex",
148-
justifyContent: "flex-end",
149-
gap: "8px"
150-
}}
151-
>
152-
<IgrButton variant="flat" onClick={this.onResetKey}>
153-
Reset
154-
</IgrButton>
155-
<IgrButton variant="flat" onClick={this.onApplyKey}>
156-
Submit
157-
</IgrButton>
158-
</div>
159-
</IgrDialog>
160-
</div>
161-
);
162-
}
163-
136+
{/* Dialog always floats above */}
137+
<IgrDialog title="Azure Key" ref={this.onDialogRef} className="igr-dialog">
138+
<IgrInput
139+
label="An image will remain visible when no key is entered."
140+
value={this.state.apiKey}
141+
inputMode="text"
142+
onInput={this.onApiKeyChange}
143+
/>
144+
<div
145+
slot="footer"
146+
style={{
147+
display: "flex",
148+
justifyContent: "flex-end",
149+
gap: "8px"
150+
}}
151+
>
152+
<IgrButton variant="flat" onClick={this.onResetKey}>
153+
Reset
154+
</IgrButton>
155+
<IgrButton variant="flat" onClick={this.onApplyKey}>
156+
Submit
157+
</IgrButton>
158+
</div>
159+
</IgrDialog>
160+
</div>
161+
);
162+
}
164163

165164
private onDialogRef(dialog: IgrDialog) { this.dialogRef = dialog; }
166165
private onDialogShow() { this.dialogRef?.show(); }

0 commit comments

Comments
 (0)