blob: 0a62b1b89e46acdbe09b9bb87a0f644f0fea8ee2 [file] [log] [blame]
DREW5b1883e2025-06-07 10:41:32 +08001// import React from 'react';
2// import PropTypes from 'prop-types';
Akane121765b61a72025-05-17 13:52:25 +08003
DREW5b1883e2025-06-07 10:41:32 +08004// const ActionCard = ({ title, subtitle, icon, onClick }) => {
5// return (
6// <div className="action-card" onClick={onClick}>
7// {icon && <div className="action-icon">{icon}</div>}
8// <div className="action-content">
9// <h3>{title}</h3>
10// <p>{subtitle}</p>
11// </div>
12// </div>
13// );
14// };
Akane121765b61a72025-05-17 13:52:25 +080015
DREW5b1883e2025-06-07 10:41:32 +080016// ActionCard.propTypes = {
17// title: PropTypes.string.isRequired,
18// subtitle: PropTypes.string,
19// icon: PropTypes.node,
20// onClick: PropTypes.func
21// };
Akane121765b61a72025-05-17 13:52:25 +080022
DREW5b1883e2025-06-07 10:41:32 +080023// export default ActionCard;