@kitconcept/volto-light-theme
Version:
Volto Light Theme by kitconcept
25 lines (22 loc) • 666 B
text/typescript
import type { ConfigType } from '@plone/registry';
import NewsItemSummary from '../components/Summary/NewsItemSummary';
import EventSummary from '../components/Summary/EventSummary';
import FileSummary from '../components/Summary/FileSummary';
export default function install(config: ConfigType) {
config.registerComponent({
name: 'Summary',
component: NewsItemSummary,
dependencies: ['News Item'],
});
config.registerComponent({
name: 'Summary',
component: EventSummary,
dependencies: ['Event'],
});
config.registerComponent({
name: 'Summary',
component: FileSummary,
dependencies: ['File'],
});
return config;
}