🚀 **React Component Library** - Thư viện components và utilities cho phát triển React applications nhanh chóng và hiệu quả.
npm install @caominhhung1991/components🚀 React Component Library - Thư viện components và utilities cho phát triển React applications nhanh chóng và hiệu quả.
``bash`
npm install @caominhhung1991/componentshoặc
yarn add @caominhhung1991/components
``
├── 📁 src/ # Mã nguồn chính
│ ├── 📁 components/ # React components
│ ├── 📁 bussiness/ # Business logic modules
│ ├── 📁 services/ # Service functions & utilities
│ ├── 📁 interface/ # TypeScript interfaces & types
│ ├── 📁 stores/ # Redux stores
│ ├── 📁 utils/ # Utility functions & hooks
│ ├── 📁 locales/ # Đa ngôn ngữ
│ ├── 📁 providers/ # React context providers
│ └── 📁 routes/ # Routing configuration
├── 📁 example/ # Ví dụ sử dụng
├── 📁 stories/ # Storybook stories
├── 📁 test/ # Test files
├── 📁 dist/ # Distribution build
└── 📁 .github/ # GitHub workflows
`typescript`
import {
Modal,
InputModal,
activeSwitch,
clickToActive
} from '@caominhhung1991/components';
`typescript`
import {
excelService,
stringUtils,
numberUtils,
timeUtils
} from '@caominhhung1991/components';
`typescript`
import {
PhieuBusiness,
MatHangBusiness
} from '@caominhhung1991/components';
bash
git clone
cd components
yarn install
`$3
`bash
yarn start # Start development server
yarn build # Build for production
yarn test # Run tests
yarn lint # Lint code
yarn storybook # Start Storybook
`$3
`bash
yarn hung # Version bump & publish
`📚 Documentation
Mỗi thư mục có README riêng với documentation chi tiết:
src/ - Source code overview
- src/components/ - React components
- src/services/ - Service layer
- src/bussiness/ - Business logic
- src/interface/ - TypeScript types
- src/stores/ - Redux stores
- example/ - Usage examples
- stories/ - Storybook stories
- test/` - Testing guide- React 17+ với TypeScript
- Ant Design - UI Framework
- Redux Toolkit - State management
- TSDX - Build tooling
- Jest - Testing framework
- Storybook - Component documentation
MIT License - xem LICENSE file.
Cao Minh Hưng - @caominhhung1991
Contributions, issues và feature requests đều được chào đón!
Current version: 0.1.17
Xem CHANGELOG để biết thêm chi tiết về các phiên bản.