Reset Class Properties to separate css style into a property
This commit is contained in:
parent
3d7baafc17
commit
706f9624cc
6 changed files with 17 additions and 16 deletions
|
@ -10,7 +10,7 @@ import { XPositionReference } from '../Enums/XPositionReference';
|
|||
* @property isRigidBody if true apply rigid body behaviors
|
||||
* @property isAnchor if true apply anchor behaviors
|
||||
*/
|
||||
export default interface IProperties extends Omit<React.CSSProperties, 'width' | 'height'> {
|
||||
export default interface IProperties {
|
||||
id: string
|
||||
parentId: string | null
|
||||
x: number
|
||||
|
@ -19,5 +19,6 @@ export default interface IProperties extends Omit<React.CSSProperties, 'width' |
|
|||
height: number
|
||||
isRigidBody: boolean
|
||||
isAnchor: boolean
|
||||
XPositionReference?: XPositionReference
|
||||
xPositionReference?: XPositionReference
|
||||
style?: React.CSSProperties
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue