0.5.7 • Published 11 months ago

react-appkit-layouts v0.5.7

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

React AppKit - Layouts

const [settings, setSettings] = useState<ISettings>(() => {

	if (rest.settings?.pageTransition === null) {
		updatedSettings = { ...updatedSettings, pageTransition: null };
	}

	return updatedSettings;
});

const updateSettings = useCallback((value: Subset<ISettings>) => {
	setSettings((prevState) => {
		const updatedSettings = deepmerge(prevState, value) as ISettings;

		setStyles(getDefaultStyle(updatedSettings));

		return updatedSettings;
	});
}, []);
0.5.7

11 months ago

0.5.6

11 months ago

0.5.5

11 months ago

0.5.3

11 months ago

0.5.1

11 months ago

0.5.0

11 months ago

0.4.0

11 months ago

0.3.0

11 months ago

0.2.0

12 months ago

0.0.1-alpha

12 months ago