mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-13 01:18:18 +08:00
41 lines
615 B
TypeScript
41 lines
615 B
TypeScript
import type {
|
|
ViewProps,
|
|
TextProps,
|
|
ImageProps,
|
|
ViewStyle,
|
|
TextStyle,
|
|
ImageStyle,
|
|
} from "react-native";
|
|
|
|
declare module "react-native" {
|
|
interface ViewProps {
|
|
className?: string;
|
|
rw?: string;
|
|
}
|
|
|
|
interface ViewStyle {
|
|
$$css?: true;
|
|
tailwindcssReactNative?: string;
|
|
}
|
|
|
|
interface TextProps {
|
|
className?: string;
|
|
tw?: string;
|
|
}
|
|
|
|
interface TextStyle {
|
|
$$css?: true;
|
|
tailwindcssReactNative?: string;
|
|
}
|
|
|
|
interface ImageProps {
|
|
className?: string;
|
|
tw?: string;
|
|
}
|
|
|
|
interface ImageStyle {
|
|
$$css?: true;
|
|
tailwindcssReactNative?: string;
|
|
}
|
|
}
|