@paperbits/common
Version:
Paperbits common components.
18 lines (15 loc) • 339 B
text/typescript
import { Contract } from "../..";
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;
}