V
V
vovashaplin2020-05-25 12:58:45
React
vovashaplin, 2020-05-25 12:58:45

How to redesign ready-made components in React (let's say ant design)?

https://ant.design/components/upload/#header

Let's say I take a ready-made component and want to change its color or shape, or completely change the design. Can it be done? Or do you need to make your own component on top of the finished one, in which to override styles?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor, 2020-05-25
@vovashaplin

Copy the component code, name it differently and make a component with extended functionality, as an option.
But it is better to read the article on their website about this.
Style - Ant Design

M
MagicMight, 2020-05-25
@MagicMight

Here is what Ant Design themselves write about it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question