'Is it better to use inline style or Material's Box component to handle spacing?
I want to create a uniform spacing for my elements, so instead of using margin, I came across using <Box\>.
Any one have any insight on what is more efficient to use?
<div style={{ padding: "0px 16px" }}>
{children}
</div>
VS
<div>
<Box sx={{ mt: InputFieldVerticalSpacing }} />
{children}
</div>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
