@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
18 lines (17 loc) • 911 B
TypeScript
import type { SelectedVariant } from '../../internal/VariantManagementContext.js';
import type { Ui5CustomEvent } from '../../types/index.js';
import type { ButtonDomRef, DialogDomRef, InputPropTypes } from '../../webComponents/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-runtime").JSX.Element;
export {};