Skip to content
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

Enhance Spin component TypeScript definitions and documentation #49036

Merged
merged 1 commit into from
May 23, 2024

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented May 23, 2024

This pull request enhances the TypeScript definitions for the Spin component by adding detailed comments to each property within the SpinProps interface in components/spin/index.tsx.

  • Adds comprehensive comments: Each property in the SpinProps interface now includes detailed comments explaining its purpose and usage. This includes descriptions for prefixCls, className, rootClassName, spinning, style, size, tip, delay, wrapperClassName, indicator, children, and fullscreen.
  • Improves developer experience: These comments provide clarity on the function and expected values of each property, aiding developers in utilizing the Spin component more effectively within their projects.

For more details, open the Copilot Workspace session.

Copy link

stackblitz bot commented May 23, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

github-actions bot commented May 23, 2024

Preview is ready

Copy link
Contributor

github-actions bot commented May 23, 2024

👁 Visual Regression Report for PR #49036 Passed ✅

🎯 Target branch: master (4592071)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4592071) to head (3ef1186).

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #49036   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          745       745           
  Lines        12976     12976           
  Branches      3400      3400           
=========================================
  Hits         12976     12976           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants