-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
type: add deprecated info #485
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ export interface TooltipProps | |
onVisibleChange?: (visible: boolean) => void; | ||
afterVisibleChange?: (visible: boolean) => void; | ||
overlay: (() => React.ReactNode) | React.ReactNode; | ||
/** @deprecated Please use `styles={{ root: {} }}` */ | ||
overlayStyle?: React.CSSProperties; | ||
overlayClassName?: string; | ||
getTooltipContainer?: (node: HTMLElement) => HTMLElement; | ||
|
@@ -41,6 +42,7 @@ export interface TooltipProps | |
showArrow?: boolean | ArrowType; | ||
arrowContent?: React.ReactNode; | ||
id?: string; | ||
/** @deprecated Please use `styles={{ inner: {} }}` */ | ||
overlayInnerStyle?: React.CSSProperties; | ||
Comment on lines
+45
to
46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification 需要更新 README.md 中的 API 文档 README.md 中仍在展示已废弃的
🔗 Analysis chain废弃提示添加正确,建议确保一致性 废弃提示的格式和内容符合规范,清晰地指导用户使用新的 建议确保所有相关文档和示例代码都反映这个变更。 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# 检查是否有相关的示例代码或文档需要更新
fd -e md -e mdx | xargs rg -l "overlayInnerStyle|overlayStyle"
Length of output: 87 Script: #!/bin/bash
# Check the content of README.md and CHANGELOG.md for overlayInnerStyle usage
echo "=== README.md ==="
rg -A 3 "overlayInnerStyle|overlayStyle" README.md
echo -e "\n=== CHANGELOG.md ==="
rg -A 3 "overlayInnerStyle|overlayStyle" CHANGELOG.md
Length of output: 1304 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. README 里也改一下 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @afc163,好的。建议在 README.md 中更新 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
readme 这么改行不 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
zIndex?: number; | ||
styles?: TooltipStyles; | ||
|
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.
overlayClassName 也废弃掉?