Skip to content

Commit

Permalink
Update src/content/learn/conditional-rendering.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedBaset committed Sep 23, 2024
1 parent 27b6ec2 commit aa79071
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/content/learn/conditional-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ export default function PackingList() {
</Sandpack>
<<<<<<< HEAD
لاحظ أن بعض مكونات `Item` لديها خاصية `isPacked` معينة إلى `true` بدلا من `false`. ترغب في إضافة علامة التحقق (✔) إلى العناصر المحزومة في حالة `isPacked={true}`.
=======
Notice that some of the `Item` components have their `isPacked` prop set to `true` instead of `false`. You want to add a checkmark (✅) to packed items if `isPacked={true}`.
>>>>>>> c003ac4eb130fca70b88cf3a1b80ce5f76c51ae3
لاحظ أن بعض مكونات `Item` لديها خاصية `isPacked` معينة إلى `true` بدلا من `false`. ترغب في إضافة علامة التحقق (✅) إلى العناصر المحزومة في حالة `isPacked={true}`.
يمكنك كتابة ذلك باستخدام [عبارة `if`/`else`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else) على النحو التالي:
Expand Down

0 comments on commit aa79071

Please sign in to comment.