From 067a5ccee025ceac8e78281afba78be9b98488ca Mon Sep 17 00:00:00 2001 From: "eric.crowell" Date: Tue, 18 Jun 2024 11:32:12 +0200 Subject: [PATCH] feat: Added new Image component --- packages/ui/src/components/Image/Image.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/ui/src/components/Image/Image.tsx diff --git a/packages/ui/src/components/Image/Image.tsx b/packages/ui/src/components/Image/Image.tsx new file mode 100644 index 0000000..04dc8ea --- /dev/null +++ b/packages/ui/src/components/Image/Image.tsx @@ -0,0 +1,17 @@ +'use client'; + +import React from 'react'; +import { DoobUiContext } from '@do-ob/ui/context'; +import { Image as NextUIImage, ImageProps } from '@nextui-org/react'; + +export function Image(props: ImageProps) { + + const { image } = React.useContext(DoobUiContext); + + return ( + + ); +}