@seine/core

    0.4.120 • Public • Published

    Installation

    yarn add ramda uuid @seine/core

    Usage

    Create empty rich text data

    import { createBlock, blockTypes } from '@seine/core';
    
    const block = createBlock(blockTypes.RICH_TEXT);

    Create rich text data from string

    import { toDraftContent } from '@seine/content';
    const block = createBlock(blockTypes.RICH_TEXT, toDraftContent(''));

    Keywords

    none

    Install

    npm i @seine/core

    DownloadsWeekly Downloads

    337

    Version

    0.4.120

    License

    MIT

    Unpacked Size

    389 kB

    Total Files

    25

    Last publish

    Collaborators

    • mi6gan