Skip to content

Commit 7c34f2d

Browse files
authored
feat(daffio): add sidebar registrations (#3026)
1 parent 35eda07 commit 7c34f2d

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { DaffSidebarRegistration } from '@daffodil/design/sidebar';
2+
3+
import { DaffioNavLinksSidebarBodyComponent } from './sidebar-body/component';
4+
import { DaffioSidebarFooterComponent } from '../sidebar/components/sidebar-footer/sidebar-footer.component';
5+
import { DaffioSidebarHeaderComponent } from '../sidebar/components/sidebar-header/sidebar-header.component';
6+
7+
export const DAFFIO_NAV_LINKS_SIDEBAR_ID = 'daffioNavLinks';
8+
9+
export const DAFF_NAV_LINKS_SIDEBAR_REGISTRATION: DaffSidebarRegistration = {
10+
id: DAFFIO_NAV_LINKS_SIDEBAR_ID,
11+
header: DaffioSidebarHeaderComponent,
12+
body: DaffioNavLinksSidebarBodyComponent,
13+
footer: DaffioSidebarFooterComponent,
14+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { DaffioDocsListContainer } from './docs-list.component';
2+
import { DaffioSidebarFooterComponent } from '../../../core/sidebar/components/sidebar-footer/sidebar-footer.component';
3+
import { DaffioSidebarHeaderComponent } from '../../../core/sidebar/components/sidebar-header/sidebar-header.component';
4+
5+
export const DAFFIO_DOCS_LIST_SIDEBAR_ID = 'daffioDocsList';
6+
7+
export const DAFFIO_DOCS_LIST_SIDEBAR_REGISTRATION = {
8+
id: DAFFIO_DOCS_LIST_SIDEBAR_ID,
9+
header: DaffioSidebarHeaderComponent,
10+
body: DaffioDocsListContainer,
11+
footer: DaffioSidebarFooterComponent,
12+
};

0 commit comments

Comments
 (0)