Skip to content
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

Update TypeScript Definition #1575

Closed
wants to merge 4 commits into from

Conversation

wcandillon
Copy link
Contributor

Summary

Update the type definition to expose components methods.

@@ -416,8 +427,7 @@ export interface TSpanProps extends CommonPathProps, FontProps {
rotate?: NumberArray;
inlineSize?: NumberProp;
}
export const TSpan: React.ComponentClass<TSpanProps>;
export type TSpan = React.ComponentClass<TSpanProps>;
export class TSpan extends Shape<TSPanProps>{}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wcandillon Typo error here

@WoLewicki
Copy link
Member

Since #1806 has been merged, I think those issues are no longer a problem as types are taken directly from components' files. I will close this PR then. Feel free to comment here if I am wrong and we can always reopen it!

@WoLewicki WoLewicki closed this Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants