diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 6102aa8db7b..3e6d2bca8b3 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -3211,7 +3211,7 @@ export namespace Components { } interface IonToggle { /** - * How to control the alignment of the toggle and label on the cross axis. ``"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL. + * How to control the alignment of the toggle and label on the cross axis. `"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL. */ "alignment": 'start' | 'center'; /** @@ -8037,7 +8037,7 @@ declare namespace LocalJSX { } interface IonToggle { /** - * How to control the alignment of the toggle and label on the cross axis. ``"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL. + * How to control the alignment of the toggle and label on the cross axis. `"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL. */ "alignment"?: 'start' | 'center'; /** diff --git a/core/src/components/toggle/toggle.tsx b/core/src/components/toggle/toggle.tsx index 783f86c348f..fb77002b930 100644 --- a/core/src/components/toggle/toggle.tsx +++ b/core/src/components/toggle/toggle.tsx @@ -119,7 +119,7 @@ export class Toggle implements ComponentInterface { /** * How to control the alignment of the toggle and label on the cross axis. - * ``"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. + * `"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. * `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL. */ @Prop() alignment: 'start' | 'center' = 'center';