Post purchase text size number doesn't work

Post purchase text size number doesn't work

cerz01
Shopify Partner
15 1 1

Hi, I'm trying to change the size of the text I use inside the post purchase extension, from the documentation it tells me that a numeric value is fine, but when I apply it I don't notice any changes, is there a bug or am I doing something wrong? I'm attaching the code

 

import {
  extend,
  render,
  TextContainer,
  Text,
  useExtensionInput,
} from "@shopify/post-purchase-ui-extensions-react";


<TextContainer>
            <Text size={30} emphasized>
              {title}
            </Text>
          </TextContainer>

 

I checked via inspect and I note that the default size is applied to the character

Replies 0 (0)