@aurigma/design-atoms-interfaces
Version:
26 lines (25 loc) • 760 B
TypeScript
/**
* A structure defining permissions for shapes.
* @example
* ```json
* {
* "defaultItemsConfig": {
* "rectangle": {
* "shapePermissions": {
* "allowChangeBorderColor": false,
* "allowChangeBorderWidth": false
* }
* }
* }
* }
* ```
* @public
*/
export interface IShapePermissionsData {
/** Enables the **Border width** button in the Top toolbar. The default value is `true`. */
allowChangeBorderWidth?: boolean;
/** Enables the **Fill color** button in the Top toolbar. The default value is `true`. */
allowChangeFillColor?: boolean;
/** Enables the **Border color** button in the Top toolbar. The default value is `true`. */
allowChangeBorderColor?: boolean;
}