@paperbits/core
Version:
Paperbits core components.
18 lines (15 loc) • 351 B
text/typescript
import { Contract } from "@paperbits/common";
import { MarkContract } from "./markContract";
/**
* Inline element.
*/
export interface InlineContract extends Contract {
/**
* Collection of marks assigned to the piece of text.
*/
marks?: MarkContract[];
/**
* Piece of text.
*/
text?: string;
}