When I put a PrimaryButton inside a Stack component from fluent ui, button is rendered as follows in an electron app. How to make it shrink to fit?
Code for this is as follows
return (
<Stack grow={false}>
<PrimaryButton text="Download Instruments" onClick={downloadInstruments} />
</Stack>
)