With the adoption of TypeScript, there should be a standard way of typing props. This was explored in #1704 and we came up with these options:
Define each set of props independently without importing other prop types. This is the simplest approach but results in much code duplication when it comes to prop drilling, especially when each prop has a descriptive docstring.
Export individual prop types that are used by a parent. This is what was done in #1704.
With the adoption of TypeScript, there should be a standard way of typing props. This was explored in #1704 and we came up with these options: