I created a new SPFx webpart with using yo @microsoft/sharepoint
version 1.1.3
. ComboBox
and SpinButton
seem to be missing.
import { SpinButton } from 'office-ui-fabric-react/lib/SpinButton';
gives the error
Cannot find module 'office-ui-fabric-react/lib/SpinButton'.
Same for the ComboBox, "all" other components seem to work.
I am using version 2.31
wich seems old compared to 4.36
. (How) can I update the office-ui-fabric-react part?
npm ls office-ui-fabric-react
[email protected] D:\spfx\iLogger-webpart
`-- @microsoft/[email protected]
`-- [email protected]
@iclanton when is sp-webpart-base going to get updated? 2.31.0 is very old.
We'll be releasing another drop this week. Hopefully today or tomorrow.
It was released this morning.
Thanks for your reply @iclanton wasn't there one just released?
> npm update:
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
`-- @types/[email protected]
> npm ls office-ui-fabric-react
`-- @microsoft/[email protected]
`-- [email protected]
The ComboBox
and SpinButton
seem to be there. Or are you talking about another update?
Ah you're right. Sorry I didn't realize it had already been published. Edited my comment.