added custom checkbox, custom button, custom link, fixes

This commit is contained in:
2023-12-08 18:33:07 +05:00
parent 3eed37e597
commit 8b087e6b24
40 changed files with 683 additions and 291 deletions
@@ -0,0 +1,20 @@
import INotification from "../../../../types/notification";
import NotificationItem from "../NotificationItem/NotificationItem";
interface NotificationListProps {
notifications: INotification[];
}
const NotificationList = ({ notifications }: NotificationListProps) => {
return (
<div className="bg-white rounded-[8px] p-6">
{notifications.map((notification) => {
return (
<NotificationItem notification={notification} key={notification.id} />
);
})}
</div>
);
};
export default NotificationList;