-
Notifications
You must be signed in to change notification settings - Fork 268
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
refactor: countdown #1040
refactor: countdown #1040
Conversation
useState, | ||
useRef, | ||
useEffect, | ||
ReactNode, | ||
ForwardRefRenderFunction, | ||
useImperativeHandle, | ||
} from 'react' | ||
import bem from '@/utils/bem' | ||
import { useConfig } from '@/packages/configprovider/configprovider.taro' | ||
import { useConfig } from '@/packages/configprovider' |
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.
改成 configprovider.taro
src/packages/countdown/doc.en-US.md
Outdated
| onPaused | Emitted when count down paused | Residual Timestamp | ||
| onRestart | Emitted when count down restart | Residual Timestamp | ||
| onUpdate | Real-time update of the countdown data callback function | Real-time countdown data | ||
### 方法 |
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.
改成 Ref,格式参考文档
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.
需要在 index 和 index.taro 导出类型。参考其他 2.0 组件
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单