update App.js

master
Your Name 3 years ago
parent 9f689a59c3
commit 0c5b2ab321
  1. 4
      src/App.js
  2. 30
      src/components/ReligiousTimes/index.js

@ -76,6 +76,7 @@ import CardTrelloDesign from "./components/CardTrelloDesign";
import CircleInCircle from "./components/CircleInCircle"; import CircleInCircle from "./components/CircleInCircle";
import NewTagDesign from "./components/NewTagDesign"; import NewTagDesign from "./components/NewTagDesign";
import AnimatedProgressBar from "./components/AnimatedProgressBar"; import AnimatedProgressBar from "./components/AnimatedProgressBar";
import ReligiousTimes from "./components/ReligiousTimes";
// import Digikala from "./components/Digikala/ImageSlider"; // import Digikala from "./components/Digikala/ImageSlider";
@ -156,10 +157,11 @@ function App() {
{/* <IndianaDragScroll /> */} {/* <IndianaDragScroll /> */}
{/* <SidebarDesign2 className="w-1/5" /> */} {/* <SidebarDesign2 className="w-1/5" /> */}
{/* <TestComponentNew /> */} {/* <TestComponentNew /> */}
<CardTrelloDesign /> {/* <CardTrelloDesign /> */}
{/* <AnimatedProgressBar /> */} {/* <AnimatedProgressBar /> */}
{/* <CircleInCircle /> */} {/* <CircleInCircle /> */}
{/* <NewTagDesign /> */} {/* <NewTagDesign /> */}
<ReligiousTimes />
</div> </div>
</Provider> </Provider>
); );

@ -0,0 +1,30 @@
import React from 'react'
const times = {
morning: "صبح",
sunrise: "طلوع",
noon: "ظهر",
sunset: "غروب",
maghrib: "مغرب",
midnight: "نیمه شب",
}
const ReligiousTimes = () => {
return (
<div className="bg-white shadow rounded-md w-96">ReligiousTimes</div>
)
}
export default ReligiousTimes
ReligiousTimes.defaultProps = {
hours: {
morningTime: "5:03",
sunriseTime: "6:27",
noonTime: "12:15",
sunsetTime: "18:05",
maghribTime: "18:23",
midnightTime: "23:34",
},
}
Loading…
Cancel
Save