UNPKG

@gzup/macaw-ui-4

Version:

Gzup's UI component library

17 lines (16 loc) 670 B
import React from "react"; import { ConfirmButtonLabels, ConfirmButtonTransitionState } from "../ConfirmButton"; export declare type SavebarLabels = ConfirmButtonLabels & Record<"delete" | "cancel" | "preview", string>; export declare type SavebarTooltips = Partial<Record<"confirm" | "delete" | "cancel" | "preview", string>>; export interface SavebarProps { disabled: boolean; state: ConfirmButtonTransitionState; labels: SavebarLabels; tooltips?: SavebarTooltips; className?: string; onCancel: () => void; onDelete?: () => void; onSubmit: () => void; onPreview?: () => void; } export declare const Savebar: React.FC<SavebarProps>;