-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: fallback react to 16.8-alpha.0 #49
Conversation
9744ea9
to
b219e00
Compare
@@ -203,7 +204,7 @@ const Input: FunctionComponent<IInputProps> = forwardRef( | |||
const inputRef = useRef<any>(null); | |||
|
|||
// FIXME: wait for upstream: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/32144 | |||
(React as any).useImperativeHandle(ref, () => ({ | |||
useImperativeMethods(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.
超尷尬
@@ -42,15 +40,14 @@ export const TooltipContent = styled(tag.div)<TooltipContentProps>` | |||
`}; | |||
|
|||
${space}; | |||
${minWidth}; |
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.
這個 breaking 但影響應該不大
@@ -34,6 +31,7 @@ export const TooltipContent = styled(tag.div)<TooltipContentProps>` | |||
color: ${({ light, theme: { colors } }) => | |||
light ? colors.gray700 : colors.light}; | |||
font-size: ${p => p.theme.fontSizes.sm}; | |||
white-space: nowrap; |
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.
不換行了
b219e00
to
f25d4ef
Compare
f25d4ef
to
862fcf4
Compare
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.
等 react-spring 升級後,我們也要再改嗎?
@kpman 他們作者說在重寫,以後不會用到這個 API |
No description provided.