We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1e64d commit ed13eadCopy full SHA for ed13ead
src/Components.tsx
@@ -3,8 +3,8 @@ import {useUpdateWithSetter} from './utils/useUpdateWithSetter';
3
import {LoadError, LoaderStart, NotificationCount} from '@stripe/connect-js';
4
5
export type CommonComponentProps = {
6
- onLoaderStart: ({elementTagName}: LoaderStart) => void;
7
- onLoadError: ({error, elementTagName}: LoadError) => void;
+ onLoaderStart?: ({elementTagName}: LoaderStart) => void;
+ onLoadError?: ({error, elementTagName}: LoadError) => void;
8
};
9
10
export const ConnectPayments = ({
0 commit comments