UNPKG

convert-draftjs

Version:

Easily convert the result of DraftJS into useful and easy to read data. For example; Array of text, plain text, etc.

3 lines (2 loc) 133 B
import { ParsedJson } from '../types/parsedjson'; export default function parseDraftResult(draftResult: ParsedJson | string): any;