0.5.7 • Published 12 months ago

react-appkit-layouts v0.5.7

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

12 months ago

0.5.6

12 months ago

0.5.5

12 months ago

0.5.3

12 months ago

0.5.1

12 months ago

0.5.0

12 months ago

0.4.0

12 months ago

0.3.0

12 months ago

0.2.0

1 year ago

0.0.1-alpha

1 year ago