When I have a Box component, I want to show the width from x=0px to x=100px transparently. How can I do it?
d
Doris Liu
12/17/2020, 4:08 AM
Are you going for full transparency for the area from 0px-100px? If so, I would recommend building a custom layout modifier that clips based on a number that you pass in.
l
Luis Daivid
12/17/2020, 4:09 AM
Thank you. I solved it by doing what you said.
d
Doris Liu
12/17/2020, 4:10 AM
Just saw that in a separate thread after I posted. 😅