How do I create a component such that a user cannot inadvertently modify its dimensions. for eg. If one creates a button or a card panel component of width 200px, which we want everyone in the team to use. But they should not be able to change its dimensions, by manually resizing the component.
In Adobe XD, we can achieve similar effect by applying paddings.
In figma, even if we apply paddings, the component dimensions change, if we manually resize the component by dragging its edges.