const Button = () => {
const options = ['test1', 'test2', 'test3'];
return (
<div style={{ position: 'absolute', left: '8px', width: 'auto', flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', backgroundColor: '#006C84' }}>
{options.map(opt => (<span style={{ paddingRight: '10px' }}>{opt}</span>))}
</div>
)
}
I have a code snippet above which is showing some extra space at the end of the text. How can I remove that space?