Creating a horizontal line is as simple as using the following code:
<hr style={{ width: "80%", border: "1px solid black" }} />
You can customize the width, length, and other properties as needed.
If you want to display an arrow pointing towards the right direction instead of a line, what would be the best approach (with customization options like width, length, color, etc.)?
https://i.sstatic.net/XhUvb.png
While there are many libraries available, most of them require specifying two components for drawing from one component to another.
If I were to replace the line definition with an arrow component, it should display an arrow similar to the one in the image. This seems like a straightforward request, but so far I haven't come across any methods that fulfill this requirement.