-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.tsx
More file actions
28 lines (22 loc) · 733 Bytes
/
Copy pathindex.tsx
File metadata and controls
28 lines (22 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { ExtensibleRenderer } from '@connectv/html';
import { ThemedComponentThis } from '@connectv/jss-theme';
import { CodedocTheme } from '../../../theme';
import { FooterStyle } from './style';
import { DarkModeSwitch$ } from '../../darkmode';
import { ToCToggle$ } from '../toc/toggle';
export function Footer(
this: ThemedComponentThis<CodedocTheme>,
_: any,
renderer: ExtensibleRenderer,
content: any
) {
const classes = this.theme.classes(FooterStyle);
return <div class={classes.footer}>
<div class="left"><ToCToggle$/></div>
<div class="main">
<div class="inside">{content}</div>
</div>
<div class="right"><DarkModeSwitch$/></div>
</div>
}
export { FooterStyle } from './style';