You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/index.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,9 @@ Built with familiar tools and libraries, it follows consistent styling, structur
22
22
23
23
- <ahref='https://www.nativewind.dev'target='_blank'rel='noreferrer'className='font-medium underline underline-offset-4 decoration-fd-muted-foreground/0 hover:decoration-fd-muted-foreground'>Nativewind:</a> React Native Reusables integrates with Nativewind for utility-first styling on native, providing a Tailwind-like experience adapted for React Native.
24
24
- <ahref='https://rnprimitives.com'target='_blank'rel='noreferrer'className='font-medium underline underline-offset-4 decoration-fd-muted-foreground/0 hover:decoration-fd-muted-foreground'>RN Primitives:</a> A universal port of Radix UI primitives for React Native with an almost identical API, enabling consistent composition on native platforms.
25
-
- <spanclassName='font-medium'>Portals:</span> React Native doesn't support DOM portals. Components like modals, dropdowns, and toasts require a `PortalHost`.
26
-
- <spanclassName='font-medium'>No cascading styles:</span> Child elements like `Text` can't inherit styles from a parent class. Each element must be styled directly. (We use a small [workaround](/docs/components/text#inheritance-system) for `Text`.)
27
-
- <spanclassName='font-medium'>No data attributes:</span> React Native doesn't support data-* attributes, so variants rely on props or state. On the web, data-* attributes work when using HTML elements.
25
+
- <spanclassName='font-medium'>Portals:</span> React Native doesn't support DOM portals. On native platforms, components like modals, dropdowns, and toasts need a [`PortalHost`](https://rnprimitives.com/portal/).
26
+
- <spanclassName='font-medium'>No cascading styles:</span> Child elements like `Text` can't inherit styles from a parent class. Each element must be styled directly. We use a small [workaround](/docs/components/text#inheritance-system) for `Text`.
27
+
- <spanclassName='font-medium'>No data attributes:</span> React Native doesn't support `data-*` attributes, so variants rely on props or state for native platforms.
- <spanclassName='font-medium'>Icons:</span> Uses a wrapper component in combination with a <ahref='https://lucide.dev/guide/packages/lucide-react-native'target='_blank'rel='noreferrer'className='underline underline-offset-4 decoration-fd-muted-foreground/0 hover:decoration-fd-muted-foreground'>Lucide icon</a> to avoid wrapping every imported icon individually (e.g. `<Icon as={LeftArrowIcon} />`).
30
30
- <spanclassName='font-medium'>Programmatic control:</span> Some components, such as `DropdownMenu`, can't be controlled with `open` or `onOpenChange` props. Instead, you use a `ref` to manage open and close behavior after layout calculation.
0 commit comments