S
S
smartbe2020-09-20 16:55:28
React
smartbe, 2020-09-20 16:55:28

How to design 3 components?

Hello! Now I am designing web components (on react) for the project. one). Button 2). Phone 3). Link to another page. The bottom line is that they can look the same in design. For example, you might want to design a link as a button, or a phone as a button. In the most basic case, of course, the link and phone number are just text, and the button is a big blue rectangle.

The question is whether it is necessary to produce the same styles for the link and for the phone if you want to design them as a button. Or make base props for the link, base props for the phone and just wrap them in a button?

5f675f411ede0568686581.jpeg
5f675f48d4b66861550699.jpeg
5f675f4e064db666347523.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question