Skip to content

Commit

Permalink
Docs: Switch replacing images on the iOS doc (#3109)
Browse files Browse the repository at this point in the history
  • Loading branch information
laylaleeal authored Jul 27, 2023
1 parent 1f6ce5d commit 93d4f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/markdown/ios/switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fullwidth: true
</Group>

<Group>
<ImgContainer src="https://github.com/pinterest/gestalt/assets/63257116/44702165-8617-4a42-a3a6-83ad1077a28c" alt="Example of Switch with truncated text" />
<ImgContainer src="https://github.com/pinterest/gestalt/assets/63257116/109b69d7-5c52-4986-ac95-263f9b684d70" alt="Example of Switch with truncated text" />
<Dont title="Don't" />
Truncate label text. Instead, allow it to wrap to form another line.
</Group>
Expand All @@ -44,7 +44,7 @@ fullwidth: true
</Group>

<Group>
<ImgContainer src="https://github.com/pinterest/gestalt/assets/63257116/f1ac5536-3e98-436f-8c33-3c36bb42ee93" alt="Example of incorrect switch usage" />
<ImgContainer src="https://github.com/pinterest/gestalt/assets/63257116/64af8d2f-f34d-46fb-8033-b539e4cd17af" alt="Example of incorrect switch usage" />
<Dont title="Don't" />
Use checkboxes or radio buttons to replace the functionality of a switch. If the functionality is a binary on or off, use Switch instead.
</Group>
Expand Down

0 comments on commit 93d4f5c

Please sign in to comment.