The <Reset>
component is a <MenuItem>
component similar to <Restart>
, except that it
clears the storageAdapter cache before restarting, effectively resetting the SmartDesktop to "factory settings". All
workspaces, preferences, etc. will be deleted. The <Reset>
button is included in the default seed
project, but is primarily useful for development - you'll probably want to disable it in production.
<Reset>
accepts no props.
You can use the <Reset>
component from any menu:
<Menu>
...
<Reset />
...
</Menu>