update src/components/Accordion/index.js and src/components/Modal/index.js

master
mahdi 2 years ago
parent 4f910de219
commit d2277aa08d
  1. 6
      src/components/Accordion/index.js
  2. 3
      src/components/Modal/index.js

@ -143,11 +143,11 @@ function Accordion({ vod }) {
alt="" alt=""
className="w-4 ml-2" className="w-4 ml-2"
/> />
<div className="w-full flex flex-row items-center justify-between px-3 py-4 bg-blue-200 cursor-pointer"> <div className="w-full flex flex-row items-center justify-between px-3 py-4 bg-[#EEF5FF] rounded-sm cursor-pointer">
<p className="flex-1 mr-3 text-sm text-blue-700"> <p className="flex-1 mr-3 text-sm text-[#234F8E]">
{item.title} {item.title}
</p> </p>
<div className="bg-blue-300 p-2 rounded-sm"> <div className="bg-[#D4E7FF] p-2 rounded-sm">
<img <img
src="images/blue-cancle-icon.svg" src="images/blue-cancle-icon.svg"
alt="" alt=""

@ -3,9 +3,8 @@ import React, { useState } from "react";
import Button from "../Button"; import Button from "../Button";
import Tabbar from "../Tabbar"; import Tabbar from "../Tabbar";
const Modal = () => { const Modal = ({ activeTab }) => {
const [openModal, setOpenModal] = useState(false); const [openModal, setOpenModal] = useState(false);
console.log(openModal);
return ( return (
<div> <div>

Loading…
Cancel
Save