responsive page panel and add-doctor
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import Item from "./Item";
|
||||
|
||||
function Cards({ data, loading }) {
|
||||
console.log(data);
|
||||
|
||||
return (
|
||||
<ul className="md:hidden mt-[24px] grid grid-cols-1 sm:grid-cols-2 gap-[16px]">
|
||||
{data.map((item, idx) => (
|
||||
<Item data={item} key={idx} />
|
||||
))}
|
||||
</ul>
|
||||
);
|
||||
}
|
||||
|
||||
export default Cards;
|
||||
Reference in New Issue
Block a user