turansky
05/14/2022, 10:23 AMdisplayName
for React components and context on board!
Supported factory methods:
• FC
• VFC
• createContext
Example:
// JS: App.displayName = 'App'
// will be added by plugin
val App = VFC {
+ "My app"
}
// JS: UserContext.displayName = 'UserContext'
// will be added by plugin
val UserContext = createContext<User>()
Supported platforms: Legacy