5.3.0 (nativewind) #1394
1uokun
announced in
Announcements
Replies: 1 comment
-
Nativewind import {
Button,
Flex,
Input,
List,
Text,
View,
} from "@ant-design/react-native";
import { cssInterop } from "nativewind";
cssInterop(View, {
className: {
target: "style",
},
});
cssInterop(Text, {
className: {
target: "style",
},
});
cssInterop(Button, {
className: {
target: "style",
},
});
cssInterop(Input, {
className: {
target: "style",
},
});
cssInterop(List.Item, {
className: {
target: "style",
},
}); Useage <Input className="py-[10px] pl-[10px]" /> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2024-11-14
(To support for nativewind)
useToast
hook method #1388useModal
hook method #1383modalType
prop (Sync to Picker)onScrollAnimationEnd
propdisabledStep
、onSlidingStart
、onSlidingComplete
、tapToSeek
propstyle
props works #1389flex: 1
to avoid height collapsedefaultValue
prop works #1311defaultChecked
prop works #1380Beta Was this translation helpful? Give feedback.
All reactions