UNPKG

@atlaskit/focused-task-close-account

Version:

This package contains all of the UI components needed to assemble the focused tasks for deactivating and deleting users' accounts in accordance with the GDPR "Right to be forgotten".

20 lines (19 loc) 537 B
import React from 'react'; export interface Props { isOpen: boolean; onClose: () => void; screens: React.ReactNode[]; submitButton: React.ReactNode; learnMoreLink: string; } export interface State { currentScreenIdx: number; } export declare class FocusedTaskCloseAccount extends React.Component<Props, State> { state: State; nextScreen: () => void; previousScreen: () => void; renderCurrentScreen: () => React.ReactNode; render(): React.JSX.Element; } export default FocusedTaskCloseAccount;