You can recreate the same component from the node_modules folder directly in your project and make it your own. This way, you can customize it however you want. For example, you can look at the original React component, copy its code, and paste it into your project instead of using the one from node_modules
Like this you will have the full control over the component