Files
zellyy-finance/src/components/home/EmptyState.tsx
hansoo 9851627ff1 feat: Add CI/CD pipeline and code quality improvements
- Add GitHub Actions workflow for automated CI/CD
- Configure Node.js 18.x and 20.x matrix testing
- Add TypeScript type checking step
- Add ESLint code quality checks with enhanced rules
- Add Prettier formatting verification
- Add production build validation
- Upload build artifacts for deployment
- Set up automated testing on push/PR
- Replace console.log with environment-aware logger
- Add pre-commit hooks for code quality
- Exclude archive folder from linting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 15:27:54 +09:00

21 lines
479 B
TypeScript

import React from "react";
interface EmptyStateProps {
message?: string;
subMessage?: string;
}
const EmptyState: React.FC<EmptyStateProps> = ({
message = "아직 데이터가 없습니다",
subMessage = "예산을 설정하고 지출을 추가해 보세요",
}) => {
return (
<div className="neuro-card py-8 text-center text-gray-400 mb-4">
<p>{message}</p>
<p className="text-sm mt-2">{subMessage}</p>
</div>
);
};
export default EmptyState;