-
Notifications
You must be signed in to change notification settings - Fork 132
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
responsive frame types do not extend base types #528
Labels
bug 🐛
Known and possible bugs for triage
Comments
My attempted workaround: type CombinedXYFrameProps = React.ComponentProps<typeof ResponsiveXYFrame> & React.ComponentProps<typeof XYFrame>;
class TypedResponsiveXYFrame extends React.Component<CombinedXYFrameProps> {
render() {
return <ResponsiveXYFrame {...this.props} />;
}
} |
Good catch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The types available for various
ResponsiveFooFrame
components do not extend their base types. For example, TypeScript says there is nopoints
prop available on<ResponsiveXYFrame />
.The text was updated successfully, but these errors were encountered: