Files
nativewind/types.d.ts
2022-04-27 11:59:36 +10:00

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;
}
}