W
W
WarriorKodeK2022-01-10 13:50:58
React Native
WarriorKodeK, 2022-01-10 13:50:58

How to style a component?

Hello.

There is a design

61dc0e94b7a42511459595.png


I can't figure out how to make these circles on the sides of the card.<br />

61dc0f10bbed5534130666.png


I use Styled Componentsfor styles

There was an idea to after & beforeplay around, then in React Native there is no support for these pseudo-classes

Maybe you can help me with the idea)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Makarov, 2022-01-17
@kirbi1996

Make two absolute Views, offset them and play with zIndex if necessary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question