I noticed there’s a new set of props for the Modal
component primaryAction
and secondaryAction
for the checkout/customer account extensions UI. However, when I use these props they don’t render anything. I can confirm this works properly with the Sheet
component.
Example code:
<Link overlay={(
<Modal padding id="testing" title="Testing" primaryAction={<Button onPress={() => {}}>This never renders</Button>}>
<TextBlock>This is a test</TextBlock>
</Modal>
)}>Click me</Link>
I’m not getting any Typescript error and extension saves just fine via the CLI and no console errors to speak of.