react-native-cn-richtext-editor
Version:
RichText Editor for React-Native
8 lines (7 loc) • 422 B
TypeScript
import { CaptureOptions } from 'react-native-view-shot';
/**
* Taking a snapshot of DOM is not part of native browser behavior.
* This is a hack to best emulate mobile functionality.
* This implementation is based on https://github.com/pbakaus/domvas by Paul Bakaus http://paulbakaus.com/
*/
export default function captureRef(component: Element, options?: CaptureOptions): Promise<string | Uint8ClampedArray | Blob>;