Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to beautify my component in checkout 2.0

How to beautify my component in checkout 2.0

alexsuarez
Shopify Partner
11 0 13

alexsuarez_0-1693328896492.png


target:  purchase.checkout.reductions.render-after

 

 

 

<View padding="base" border="base" borderWidth="medium" cornerRadius="base">
      <InlineLayout columns={["fill", "10%"]}>
        <View>
          <Text appearance="critical">{message}</Text>
        </View>
        <View inlineAlignment="end" padding={["small500", "none", "none", "none"]}>
          <Pressable onPress={() => setMessage("")}>
            <Icon source="close" size="small" />
          </Pressable>
        </View>
      </InlineLayout>
    </View>

 

 

 


How to styled those given component above?

 
Replies 0 (0)