You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
When I import it the way it is shown in the README file. It gives the below error:
Could not find a declaration file for module 'react-typeform-embed'. 'path_in_node_mdulesreact-typeform-embed/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/react-typeform-embed` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-typeform-embed';`
It gives a 404 when I try to install with types.
The text was updated successfully, but these errors were encountered:
// declares only one of the functions, see more here:// https://github.com/alexgarces/react-typeform-embeddeclare module "react-typeform-embed"{exporttypePopupProps={id: string;height?: number;width?: number;size?: number;hidden?: Record<string,string>;onSubmit?: ()=>void;hideHeaders?: boolean;disableAutoFocus?: boolean;enableSandbox?: boolean;};exportfunctionPopup(props: PopupProps): JSX.Element;}
I've only added the Popup that I use, and pretty sure that I did not specify all of the props, you can add the ones you need yourself.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I import it the way it is shown in the README file. It gives the below error:
It gives a
404
when I try to install with types.The text was updated successfully, but these errors were encountered: