UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

15 lines 850 B
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