-
Notifications
You must be signed in to change notification settings - Fork 34
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
TypeScript: Region component not found #410
Comments
thank you!please as soon as possible |
@JackTheRipper: is it possible for you to take a look at it? =D @markvincze: for the short-term gain, ca we suggest applying any TypeScript trick so that |
@lianghan-ihealth: until we have our next release with updated typings, may be you can try this locally: declare module 'frint-react' {
interface RegionProps {
name: string;
uniqueKey?: string;
data?: any;
}
class Region extends React.Component<RegionProps, any> {
}
} Following what's written in this blog post: https://templecoding.com/blog/2016/03/31/creating-typescript-typings-for-existing-react-components/ |
thank you all! frintjs is great. |
Region component not in the d.ts. I can not use it
The text was updated successfully, but these errors were encountered: