@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
19 lines (18 loc) • 476 B
TypeScript
/**
* Return document body
* @param doc LegalPage document
* @return string Body document
*/
export declare const getDocumentBody: (doc: any) => any;
/**
* Return true if document body is empty
* @param doc LegalPage document
* @return boolean
*/
export declare const isEmptyDocumentBody: (doc: any) => boolean;
/**
* Return true if document is acked
* @param doc LegalPage document
* @return boolean
*/
export declare const isDocumentApproved: (doc: any) => any;