0.5.7 • Published 10 months ago

react-appkit-layouts v0.5.7

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

10 months ago

0.5.6

10 months ago

0.5.5

10 months ago

0.5.3

10 months ago

0.5.1

10 months ago

0.5.0

10 months ago

0.4.0

10 months ago

0.3.0

10 months ago

0.2.0

11 months ago

0.0.1-alpha

11 months ago