In many cases, you'll need to modify the components provided by a library - like antd -, so the best practice is to import that component into a file, like:
This is useless as it is, but it's not harmful, and it leaves you with the option to edit the SpaceModal once you need to, rather than going over the entire application looking for occurrences of Ant design's modal.
In many cases, you'll need to modify the components provided by a library - like antd -, so the best practice is to import that component into a file, like:
This is useless as it is, but it's not harmful, and it leaves you with the option to edit the
SpaceModal
once you need to, rather than going over the entire application looking for occurrences of Ant design's modal.