Files
nativewind/docs/native-compatibility.md
2022-04-07 18:36:12 +10:00

1.6 KiB

React Native Compatibility

This library is still in development. This document helps track what classes are currently supported

Icon Legend
✔️ Supported
Not supported
🚧 Under development
💥 Not handled correctly

Aspect Ratio

Class Supported
aspect-auto ✔️
aspect-square ✔️
aspect-video ✔️
aspect-{ratio} ✔️
aspect-[ratio] ✔️

Container

Class Supported
container ✔️

Columns

Use a FlatList with numColumns set instead.

Class Supported
column-{n}
column-[n]

Break After/Before/Inside

Class Supported
break-after-{option}
break-before-{option}
break-inside-{option}

Box Decoration Break

Class Supported
box-decoration-clone
box-decoration-slice

Box Decoration Break

React Native only supports border-box.

Class Supported
box-border ✔️
box-content