Open rteshnizi opened 3 years ago
The provided type for the GoogleLogoutProps is missing many of the props listed in the documentation. I noticed it when I was trying to set theme.
theme
This is what is in index.d.ts
index.d.ts
export interface GoogleLogoutProps { readonly clientId: string, readonly onLogoutSuccess?: () => void; readonly onFailure?: () => void; readonly buttonText?: string; readonly className?: string; readonly children?: ReactNode; readonly jsSrc?: string; readonly style?: CSSProperties; readonly icon?: boolean, readonly disabled?: boolean; readonly disabledStyle?: CSSProperties; readonly tag?: string; readonly render?: (props: { onClick: () => void, disabled?: boolean }) => JSX.Element; }
I have react-google-login@5.2.2
react-google-login@5.2.2
Any update on this? Seems like I am having the same issue
The provided type for the GoogleLogoutProps is missing many of the props listed in the documentation. I noticed it when I was trying to set
theme
.This is what is in
index.d.ts
I have
react-google-login@5.2.2