You must have come across websites where you can switch between themes. You also want to create one in your react app with very less effort? This blog cum tutorial will solve your problem.
Antd also known as Ant Design is an open source component library for React. Antd provides very large set of ready made components with built in styling. You can explore and play with it here.
Antd also supports customizing themes using less variables. We are not going to customize any theme, instead we will be using predefined light and dark theme in antd.
Create new react…
You might be familiar with both terms, most people generally use it to give space between two html elements. But have you ever thought what’s the real difference between them?
Let’s understand what makes them different.
Application Developer at ThoughtWorks