UNPKG

@aurigma/design-atoms-interfaces

Version:

25 lines (24 loc) 872 B
/** * A structure defining the image placeholder permissions. * @example * ```json * { * "defaultItemsConfig": { * "placeholder": { * "placeholderPermissions": { * "allowEditContent": false * } * } * } * } * ``` * @public */ export interface IPlaceholderPermissionsData { /** Allows editing content of image placeholders. If `false`, then the **Placeholder content scale** slider and the handle do not show. The default value is `true`. */ allowEditContent?: boolean; /** Enables the **Select image** button for empty placeholders. The default value is `true`. */ showSelectButton?: boolean; /** Enables the placeholder handle for a focused image placeholder. This handle allows you to manipulate the content of the placeholder. The default value is `true`. */ showHandleButton?: boolean; }