File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed
Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 1+ import Card from "components/card" ;
2+
3+ const Widget = ( { icon, title, subtitle } ) => {
4+ return (
5+ < Card extra = "!flex-row flex-grow items-center rounded-[20px]" >
6+ < div className = "mr-4 flex h-[90px] w-auto flex-row items-center" >
7+ < div className = "rounded-full bg-lightPrimary p-3 dark:bg-navy-700" >
8+ < span className = "flex items-center text-brand-500 dark:text-white" >
9+ { icon }
10+ </ span >
11+ </ div >
12+ </ div >
13+
14+ < div className = "h-50 mr-4 flex w-auto flex-col justify-center" >
15+ < p className = "font-dm text-sm font-medium text-gray-600" > { title } </ p >
16+ < h4 className = "text-xl font-bold text-navy-700 dark:text-white" >
17+ { subtitle }
18+ </ h4 >
19+ </ div >
20+ </ Card >
21+ ) ;
22+ } ;
23+
24+ export default Widget ;
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import { MdBarChart, MdDashboard } from "react-icons/md";
88
99import { columnsDataCheck , columnsDataComplex } from "./variables/columnsData" ;
1010
11- import Widget from "components/widget /Widget" ;
12- import CheckTable from "views/admin /default/components/CheckTable" ;
13- import ComplexTable from "views/admin /default/components/ComplexTable" ;
14- import DailyTraffic from "views/admin /default/components/DailyTraffic" ;
15- import TaskCard from "views/admin /default/components/TaskCard" ;
11+ import Widget from "views/rtl/default/components /Widget" ;
12+ import CheckTable from "views/rtl /default/components/CheckTable" ;
13+ import ComplexTable from "views/rtl /default/components/ComplexTable" ;
14+ import DailyTraffic from "views/rtl /default/components/DailyTraffic" ;
15+ import TaskCard from "views/rtl /default/components/TaskCard" ;
1616import tableDataCheck from "./variables/tableDataCheck.json" ;
1717import tableDataComplex from "./variables/tableDataComplex.json" ;
1818
You can’t perform that action at this time.
0 commit comments