You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, react-popper-tooltip currently generates this
type[<AllowNullLiteral>]IExports=abstractTooltip:TooltipStatictype[<AllowNullLiteral>]Tooltip=inherit Component<TooltipProps>abstractcomponentDidMount:unit->unitabstractcomponentDidUpdate:unit->unitabstractcomponentWillUnmount:unit->unitabstractrender:unit->JSX.Elementtype[<AllowNullLiteral>]TooltipStatic=[<Emit "new $0($1...)">]abstractCreate:unit->TooltipabstractcontextType:React.Context<TypeLiteral_01>with get, set
Currently react components are not really correctly imported.
Looking a bit through github I found fable-compiler/fable-react#151 (comment)
For example,
react-popper-tooltip
currently generates thisBetter would probably be:
Edit:
Hm, I don't think I can (easily) create an instance from an ReactElementType in F#, so maybe better generate this:
The text was updated successfully, but these errors were encountered: