-
Notifications
You must be signed in to change notification settings - Fork 1
bugfix/outlined text props #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…environment settings
…mproved compatibility
…module resolution
…rop documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the OutlinedText component to fix prop type issues and improve the overall structure, along with major dependency updates and configuration modernization.
- Fixed incorrect prop types and made shadowLine optional with proper defaults
- Added comprehensive JSDoc documentation for all component props
- Modernized build configuration and updated dependencies to latest versions
Reviewed Changes
Copilot reviewed 12 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/index.tsx | Fixed prop types, added JSDoc documentation, improved performance with useMemo |
| package.json | Updated all dependencies to latest versions and removed resolutions |
| example/* | Updated example app configuration for newer Expo and React Native versions |
| eslint.config.mjs | Migrated to modern ESLint flat config format |
| .github/workflows/ci.yml | Updated CI workflow to use npm instead of yarn |
Comments suppressed due to low confidence (1)
example/metro.config.js:1
- Duplicate path entries in the include array. The same path 'path.resolve(root, 'src')' is added twice, which is redundant.
const path = require('path');
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Description by Korbit AI
What change is being made?
Standardize single quotes in the
OutlinedTextPropsinterface definitions inindex.tsx.Why are these changes being made?
The change ensures consistency and readability within the codebase by using a single quote style, which aligns with the project's coding standards. Using consistent styling across the code helps prevent potential coding errors and improves maintainability.