for React components and context on board!
Supported factory methods:
ā¢
FC
ā¢
VFC
ā¢
createContext
Example:
Copy code
// 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>()