Introduction
An enterprise-class UI design language and React UI library with high-quality React components, one of the best React UI libraries for enterprises.
Popover is the floating card popped by clicking or hovering. It is a simple popup menu to provide extra information or operations.
Preconditions
- Javascript
- Basic knowledge of React JS
- Node.js
- V.S. Code,Visual Studio
- typescript
We cover the below things in this article,
- Create React application
- Installation of Ant Design UI
- How to create a popover of Ant Design UI in React js.
Here we will follow the steps for creating a popover.
Step 1. Run the below command to create a React.js project.
Step 2. Run the below command to install Ant Design UI.
Create the files according to the below image.
![Popover Using Ant Design UI In ReactJS]()
Step 3. Add the below code in the App.tsx.
Step 4. Add the below code in package.json
Step 5. Run the below command to run the application.
After running this command, we will get this popover.
![Popover Using Ant Design UI In ReactJS]()
Summary
In this article, we learned how to create a popover using Ant Design UI with React JS and Typescript.