-
-
Notifications
You must be signed in to change notification settings - Fork 50.1k
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
docs: a demo use typescript #21045
docs: a demo use typescript #21045
Conversation
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. Latest deployment of this branch, based on commit 1c1c30e:
|
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. Latest deployment of this branch, based on commit fa14546:
|
Codecov Report
@@ Coverage Diff @@
## master #21045 +/- ##
=======================================
Coverage 97.48% 97.48%
=======================================
Files 296 296
Lines 6910 6910
Branches 1917 1918 +1
=======================================
Hits 6736 6736
Misses 174 174 Continue to review full report at Codecov.
|
|
@@ -14,12 +14,11 @@ title: | |||
The simplest usage. | |||
|
|||
```tsx | |||
import React, { useState, FC } from 'react'; |
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.
尽量保留这个引用,这样和真实场景更接近。
🤔 This is a ...
affix、alert、anchor、auto-complete、avatar 组件demo,使用 typescript 重写
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge
View rendered components/affix/demo/on-change.md
View rendered components/alert/demo/banner.md
View rendered components/alert/demo/basic.md
View rendered components/alert/demo/closable.md
View rendered components/alert/demo/close-text.md
View rendered components/alert/demo/custom-icon.md
View rendered components/alert/demo/description.md
View rendered components/alert/demo/error-boundary.md
View rendered components/alert/demo/icon.md
View rendered components/alert/demo/smooth-closed.md
View rendered components/alert/demo/style.md
View rendered components/anchor/demo/basic.md
View rendered components/anchor/demo/customizeHighlight.md
View rendered components/anchor/demo/onChange.md
View rendered components/anchor/demo/onClick.md
View rendered components/anchor/demo/static.md
View rendered components/anchor/demo/targetOffset.md
View rendered components/auto-complete/demo/basic.md
View rendered components/auto-complete/demo/certain-category.md
View rendered components/auto-complete/demo/custom.md
View rendered components/auto-complete/demo/form-debug.md
View rendered components/auto-complete/demo/non-case-sensitive.md
View rendered components/auto-complete/demo/options.md
View rendered components/auto-complete/demo/uncertain-category.md
View rendered components/avatar/demo/badge.md
View rendered components/avatar/demo/basic.md
View rendered components/avatar/demo/dynamic.md
View rendered components/avatar/demo/toggle-debug.md
View rendered components/avatar/demo/type.md