0.5.7 • Published 9 months ago

react-appkit-layouts v0.5.7

Weekly downloads
-
License
ISC
Repository
-
Last release
9 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

9 months ago

0.5.6

9 months ago

0.5.5

9 months ago

0.5.3

9 months ago

0.5.1

9 months ago

0.5.0

9 months ago

0.4.0

9 months ago

0.3.0

9 months ago

0.2.0

9 months ago

0.0.1-alpha

9 months ago