15 lines
409 B
TypeScript
15 lines
409 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
import {IContentBlock, MutableContentBlock} from './contentBlock'
|
|
|
|
type DividerBlock = IContentBlock
|
|
|
|
class MutableDividerBlock extends MutableContentBlock {
|
|
constructor(block: any = {}) {
|
|
super(block)
|
|
this.type = 'divider'
|
|
}
|
|
}
|
|
|
|
export {DividerBlock, MutableDividerBlock}
|
|
|