We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b5b3a commit 129ab3eCopy full SHA for 129ab3e
src/components/Image.tsx
@@ -41,8 +41,18 @@ const DefaultNextImage = (props: ImageProps) => {
41
}
42
43
/**
44
- * TODO: replace this component with import { Image } from "@chakra-ui/next-js"
45
- * once https://github.com/vercel/next.js/issues/52216 is fixed
+ * TODO: Rename this component to `Image` once all components are using Tailwind
+ */
46
+export const TwImage = (props: NextImageProps) => (
47
+ <DefaultNextImage {...props} />
48
+)
49
+
50
+/**
51
+ * DEPRECATED: Use `TWImage` instead
52
+ *
53
+ * TODO: Remove this component once all components are using Tailwind
54
55
+ * @deprecated
56
*/
57
export const Image: ChakraComponent<"img", NextImageProps> = chakra(
58
DefaultNextImage,
0 commit comments