main

mattermost/focalboard

Last updated at: 29/12/2023 09:40

contentBlock.ts

TLDR

This file exports the ContentBlock type and the IContentBlockWithCords type, along with the createContentBlock function. These types are used for content blocks in the Demo Projects project.

Methods

None

Classes

None

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {Block, createBlock} from './block'

type IContentBlockWithCords = {
    block: Block
    cords: {x: number, y?: number, z?: number}
}

type ContentBlock = Block

const createContentBlock = createBlock

export {ContentBlock, IContentBlockWithCords, createContentBlock}