Skip to content

Commit d78fb0e

Browse files
docs(select): update to ok
Co-Authored-By: brandyscarney <brandyscarney@users.noreply.github.com>
1 parent f23c731 commit d78fb0e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/components.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3121,7 +3121,7 @@ export namespace Components {
31213121
}
31223122
interface IonSelect {
31233123
/**
3124-
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Okay'` for the `modal` interface.
3124+
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Ok'` for the `modal` interface.
31253125
*/
31263126
"cancelText"?: string;
31273127
/**
@@ -8464,7 +8464,7 @@ declare namespace LocalJSX {
84648464
}
84658465
interface IonSelect {
84668466
/**
8467-
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Okay'` for the `modal` interface.
8467+
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Ok'` for the `modal` interface.
84688468
*/
84698469
"cancelText"?: string;
84708470
/**

core/src/components/select/select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class Select implements ComponentInterface {
9595
/**
9696
* The text to display on the cancel button.
9797
* Defaults to `'Cancel'` for the `alert` and `action-sheet`
98-
* interfaces, and `'Okay'` for the `modal` interface.
98+
* interfaces, and `'Ok'` for the `modal` interface.
9999
*/
100100
@Prop() cancelText?: string;
101101

@@ -497,7 +497,7 @@ export class Select implements ComponentInterface {
497497
/**
498498
* Resolves the cancel button text, falling back to the
499499
* per-interface default when `cancelText` is not set:
500-
* `'Okay'` for the `modal` interface, `'Cancel'` otherwise.
500+
* `'Ok'` for the `modal` interface, `'Cancel'` otherwise.
501501
*/
502502
private get interfaceCancelText(): string {
503503
if (this.cancelText !== undefined) {

0 commit comments

Comments
 (0)