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=""
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">
<p className="flex-1 mr-3 text-sm text-blue-700">
<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-[#234F8E]">
{item.title}
</p>
<div className="bg-blue-300 p-2 rounded-sm">
<div className="bg-[#D4E7FF] p-2 rounded-sm">
<img
src="images/blue-cancle-icon.svg"
alt=""

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

Loading…
Cancel
Save