I have a problem with my project, I don't understand why when trying to pass 'width' from props it won't work
https://i.stack.imgur.com/SoXzx.png
code looks like this
<div className={'border-b-[1px] w-[50%] lg:' + props.width + ' text-thirdMainColor ' + props.margin }></div>
I will add that I also tried to add breakpoints in 'tailwind.config.js', but this did not change anything.
theme: {
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
The following form works normally. https://i.stack.imgur.com/siSaq.png