UNPKG

@aurigma/design-atoms-interfaces

Version:

33 lines (32 loc) 1.01 kB
/** * A structure defining the paragraph parameters. * @example * ```json * { * "defaultItemsConfig": { * "richText": { * "paragraphSettings": { * "rightIndent": 24, * "leftIndent": 24, * "spaceAfter": 8 * } * } * } * } * ``` * @public */ export interface IParagraphSettingsData { /** Allows overlapping of lines in paragraphs. The default value is `false`. */ overlapLines?: boolean; /** The right indent, in points. The default value is `0`. */ rightIndent?: number; /** The left indent, in points. The default value is `0`. */ leftIndent?: number; /** The space before paragraphs, in points. The default value is `0`. */ spaceBefore?: number; /** The space after paragraphs, in points. The default value is `0`. */ spaceAfter?: number; /** The distance of a paragraph's first line from the left margin, in points. The default value is `0`. */ firstLineIndent?: number; }