import React, { Component } from 'react'; import { Provider } from 'cloud-providers'; import { SetCloudProviderPayload } from 'actions'; export type ProviderModalContainerProps = { children?: React.ReactNode; cloudProviders?: Provider[]; currentProvider?: string | null; onSetCloudProvider: (provider: SetCloudProviderPayload) => void; }; /** * A wrapper component in modals contain cloud providers. * It set default provider by checking which provider has logged in * @component */ export default class ProviderModalContainer extends Component { static defaultProps: { cloudProviders: any[]; currentProvider: any; }; componentDidMount(): void; _setDefaultProvider(): void; render(): React.JSX.Element; }