Skip to content

Commit 6d4d090

Browse files
authored
docs(inputs): replace property "name" with "icon" in React playgrounds (#4190)
Closes #4135
1 parent 7c69d57 commit 6d4d090

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

static/usage/v7/input/start-end-slots/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Example() {
1010
<IonInput labelPlacement="stacked" label="Email" placeholder="[email protected]">
1111
<IonIcon slot="start" icon={lockClosed} aria-hidden="true"></IonIcon>
1212
<IonButton fill="clear" slot="end" aria-label="Show/hide">
13-
<IonIcon slot="icon-only" name={eye} aria-hidden="true"></IonIcon>
13+
<IonIcon slot="icon-only" icon={eye} aria-hidden="true"></IonIcon>
1414
</IonButton>
1515
</IonInput>
1616
</IonItem>

static/usage/v7/textarea/start-end-slots/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Example() {
1010
<IonTextarea labelPlacement="stacked" label="Comments" placeholder="Enter your comments">
1111
<IonIcon slot="start" icon={lockClosed} aria-hidden="true"></IonIcon>
1212
<IonButton fill="clear" slot="end" aria-label="Show/hide">
13-
<IonIcon slot="icon-only" name={eye} aria-hidden="true"></IonIcon>
13+
<IonIcon slot="icon-only" icon={eye} aria-hidden="true"></IonIcon>
1414
</IonButton>
1515
</IonTextarea>
1616
</IonItem>

static/usage/v8/input/start-end-slots/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Example() {
1010
<IonInput labelPlacement="stacked" label="Email" placeholder="[email protected]">
1111
<IonIcon slot="start" icon={lockClosed} aria-hidden="true"></IonIcon>
1212
<IonButton fill="clear" slot="end" aria-label="Show/hide">
13-
<IonIcon slot="icon-only" name={eye} aria-hidden="true"></IonIcon>
13+
<IonIcon slot="icon-only" icon={eye} aria-hidden="true"></IonIcon>
1414
</IonButton>
1515
</IonInput>
1616
</IonItem>

static/usage/v8/textarea/start-end-slots/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Example() {
1010
<IonTextarea labelPlacement="stacked" label="Comments" placeholder="Enter your comments">
1111
<IonIcon slot="start" icon={lockClosed} aria-hidden="true"></IonIcon>
1212
<IonButton fill="clear" slot="end" aria-label="Show/hide">
13-
<IonIcon slot="icon-only" name={eye} aria-hidden="true"></IonIcon>
13+
<IonIcon slot="icon-only" icon={eye} aria-hidden="true"></IonIcon>
1414
</IonButton>
1515
</IonTextarea>
1616
</IonItem>

0 commit comments

Comments
 (0)