From 5a42841d5234f230a23a9872cfd7775c66aad435 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 13 Mar 2024 17:27:34 -0400 Subject: [PATCH] docs(toggle): remove extra backtick to fix formatting (#29160) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the extra backtick in the `alignment` property description that is causing formatting issues in the [Toggle documentation](https://ionicframework.com/docs/api/toggle#properties): Screenshot 2024-03-13 at 4 45 58 PM --- core/src/components.d.ts | 4 ++-- core/src/components/toggle/toggle.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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';