Skip to content

Commit 5eb665e

Browse files
committed
docs: helper and error text description
1 parent 4242757 commit 5eb665e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core/src/components.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3265,11 +3265,11 @@ export namespace Components {
32653265
*/
32663266
"enableOnOffLabels": boolean | undefined;
32673267
/**
3268-
* Text that is placed under the toggle and displayed when an error is detected.
3268+
* Text that is placed under the toggle label and displayed when an error is detected.
32693269
*/
32703270
"errorText"?: string;
32713271
/**
3272-
* Text that is placed under the toggle and displayed when no error is detected.
3272+
* Text that is placed under the toggle label and displayed when no error is detected.
32733273
*/
32743274
"helperText"?: string;
32753275
/**
@@ -8136,11 +8136,11 @@ declare namespace LocalJSX {
81368136
*/
81378137
"enableOnOffLabels"?: boolean | undefined;
81388138
/**
8139-
* Text that is placed under the toggle and displayed when an error is detected.
8139+
* Text that is placed under the toggle label and displayed when an error is detected.
81408140
*/
81418141
"errorText"?: string;
81428142
/**
8143-
* Text that is placed under the toggle and displayed when no error is detected.
8143+
* Text that is placed under the toggle label and displayed when no error is detected.
81448144
*/
81458145
"helperText"?: string;
81468146
/**

core/src/components/toggle/toggle.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ export class Toggle implements ComponentInterface {
7171
@Prop() disabled = false;
7272

7373
/**
74-
* Text that is placed under the toggle and displayed when an error is detected.
74+
* Text that is placed under the toggle label and displayed when an error is detected.
7575
*/
7676
@Prop() errorText?: string;
7777

7878
/**
79-
* Text that is placed under the toggle and displayed when no error is detected.
79+
* Text that is placed under the toggle label and displayed when no error is detected.
8080
*/
8181
@Prop() helperText?: string;
8282

0 commit comments

Comments
 (0)