feat: custom collection card template (#433)

This commit is contained in:
Daniel Lautzenheiser
2023-01-25 15:11:59 -05:00
committed by GitHub
parent c6994ea45b
commit 1641630cfd
22 changed files with 1440 additions and 496 deletions

View File

@ -1,7 +1,12 @@
/* eslint-disable import/prefer-default-export */
import type { Config } from '@staticcms/core/interface';
import type { RootState } from '@staticcms/core/store';
export function selectLocale(config?: Config) {
return config?.locale || 'en';
}
export function selectConfig(state: RootState) {
return state.config.config;
}