svg-layout-designer-react/src/Enums/PropertyType.ts
Eric Nguyen ad126c6c28 Merged PR 170: Add new eslint rules
- naming-convention
- prefer-arrow-callback
- func-style
- import/no-default-export
2022-08-26 16:13:21 +00:00

22 lines
502 B
TypeScript

/**
* Describe the type of the property.
* Used for the assignation in the OnPropertyChange function
* See ContainerOperations.ts's OnPropertyChange
*/
export enum PropertyType {
/**
* Simple property: is not inside any object: id, x, width... (default)
*/
Simple,
/**
* Style property: is inside the style object: stroke, fillOpacity...
*/
Style,
/**
* Margin property: is inside the margin property: left, bottom, top, right...
*/
Margin,
}