Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | interface NotificationBoxProps { label: string value: string } const NotificationBox: React.FC<NotificationBoxProps> = ({ label, value }) => { return ( <div className="bg-[rgba(30,123,150,0.1)] px-6 py-3"> <span className="font-bold">{label}:</span> <span>{value}</span> </div> ) } export default NotificationBox |