UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

20 lines (19 loc) 1.02 kB
import type { SelectedVariant } from '../../internal/VariantManagementContext.js'; import type { Ui5CustomEvent } from '../../types/index.js'; import type { ButtonDomRef } from '../../webComponents/Button/index.js'; import type { DialogDomRef } from '../../webComponents/Dialog/index.js'; import type { InputPropTypes } from '../../webComponents/Input/index.js'; import type { VariantManagementPropTypes } from './types.js'; interface SaveViewDialogPropTypes { onAfterClose: (event: Ui5CustomEvent<DialogDomRef>) => void; handleSave: (event: Ui5CustomEvent<ButtonDomRef>, selectedVariant: SelectedVariant) => void; selectedVariant: SelectedVariant; showShare: boolean; showApplyAutomatically: boolean; showSetAsDefault: boolean; variantNames: string[]; saveViewInputProps?: Omit<InputPropTypes, 'value'>; onSaveViewCancel?: VariantManagementPropTypes['onSaveViewCancel']; } export declare const SaveViewDialog: (props: SaveViewDialogPropTypes) => import("react").JSX.Element; export {};