synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines • 850 B
TypeScript
import { ObjectType, WikiPage } from '@sage-bionetworks/synapse-types';
export declare const UNSAVED_CHANGES = "Unsaved Changes";
export declare const NAVIGATE_AWAY_CONFIRMATION_MESSAGE = "Any unsaved changes may be lost. Are you sure that you would like to navigate away from this editor?";
export declare const ERROR_SAVING_WIKI = "Could not save your changes. It is recommended that you copy your version of the wiki text so that it is not lost. ";
export type WikiMarkdownEditorProps = {
open: boolean;
ownerObjectType: ObjectType;
ownerObjectId: string;
wikiPage: WikiPage;
onCancel?: () => void;
onSave?: () => void;
};
export declare function WikiMarkdownEditor(props: WikiMarkdownEditorProps): import("react/jsx-runtime").JSX.Element;
export default WikiMarkdownEditor;
//# sourceMappingURL=WikiMarkdownEditor.d.ts.map