update 1 file and delete 4 files

master
mahdi 3 years ago
parent adddcc0367
commit bbbb8277f8
  1. 0
      public/images/RoomCardInfoflower.svg
  2. 0
      public/images/RoomCardInfoflower2.svg
  3. 0
      public/images/RoomCardInfoqr-code.svg
  4. 5
      src/components/CardDesgin/RoomCardInfo/index.js
  5. 2
      src/components/CardDesgin/index.js

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

@ -1,14 +1,11 @@
import React from "react";
import QRCode from "react-qr-code";
import qrCode from "./images/qr-code.svg";
import flower2 from "./images/flower2.svg";
const RoomCardInfo = ({ items }) => {
return (
<div className="w-fit p-5 relative flex flex-row items-center justify-between rounded-md border bg-white border-gray-200">
<img
src={flower2}
src="images/RoomCardInfoflower2.svg"
alt="flower"
className="w-1/2 absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"
/>

@ -9,6 +9,7 @@ import CardDesign3 from "./CardDesign3";
import CustomToast from "./CustomToast";
import CustomToast2 from "./CustomToast2";
import ProductStatusCard from "./ProductStatusCard";
import RoomCardInfo from "./RoomCardInfo";
function CardDesgin() {
const list = {
@ -21,6 +22,7 @@ function CardDesgin() {
7: <CustomToast />,
8: <CustomToast2 />,
9: <ProductStatusCard />,
10: <RoomCardInfo />,
};
const [type, setType] = useState(1);
return (

Loading…
Cancel
Save