@aurigma/design-atoms-interfaces
Version:
24 lines (23 loc) • 610 B
TypeScript
/**
* A structure defining permissions for lines.
* @example
* ```json
* {
* "defaultItemsConfig": {
* "line": {
* "linePermissions": {
* "allowChangeLineWidth": false,
* "allowChangeLineColor": false
* }
* }
* }
* }
* ```
* @public
*/
export interface ILinePermissionsData {
/** Enables the **Line width** button in the Top toolbar. The default value is `true`. */
allowChangeLineWidth?: boolean;
/** Enables the **Line color** button in the Top toolbar. The default value is `true`. */
allowChangeLineColor?: boolean;
}