API

The <General> component is used in the User Preferences Menu.

The "General" section of the User Preferences Menu presents the user with controls to schedule automatic restart of the SmarkDesktop. It is passed in as a section to the <UserPreferences>.

Props

<General> accepts no props.

Usage

Here's how the <General> component is used in the default User Preferences Menu:

const sections = {
	General: General,
	Workspaces: Workspaces,
};

ReactDOM.render(
	<FinsembleProvider>
		<UserPreferences sections={sections} />
	</FinsembleProvider>,
	document.getElementById("UserPreferences-tsx")
);