From 0c5b2ab3216fe0d468c13cea3be91e04e91f8ee7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Apr 2022 13:55:23 +0430 Subject: [PATCH] update App.js --- src/App.js | 4 +++- src/components/ReligiousTimes/index.js | 30 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 src/components/ReligiousTimes/index.js diff --git a/src/App.js b/src/App.js index dc36917..90cdb37 100644 --- a/src/App.js +++ b/src/App.js @@ -76,6 +76,7 @@ import CardTrelloDesign from "./components/CardTrelloDesign"; import CircleInCircle from "./components/CircleInCircle"; import NewTagDesign from "./components/NewTagDesign"; import AnimatedProgressBar from "./components/AnimatedProgressBar"; +import ReligiousTimes from "./components/ReligiousTimes"; // import Digikala from "./components/Digikala/ImageSlider"; @@ -156,10 +157,11 @@ function App() { {/* */} {/* */} {/* */} - + {/* */} {/* */} {/* */} {/* */} + ); diff --git a/src/components/ReligiousTimes/index.js b/src/components/ReligiousTimes/index.js new file mode 100644 index 0000000..4f21482 --- /dev/null +++ b/src/components/ReligiousTimes/index.js @@ -0,0 +1,30 @@ +import React from 'react' + +const times = { + morning: "صبح", + sunrise: "طلوع", + noon: "ظهر", + sunset: "غروب", + maghrib: "مغرب", + midnight: "نیمه شب", + +} + +const ReligiousTimes = () => { + return ( +
ReligiousTimes
+ ) +} + +export default ReligiousTimes + +ReligiousTimes.defaultProps = { + hours: { + morningTime: "5:03", + sunriseTime: "6:27", + noonTime: "12:15", + sunsetTime: "18:05", + maghribTime: "18:23", + midnightTime: "23:34", + }, +} \ No newline at end of file