WIP: add custom channel modal

This commit is contained in:
Mikayla Maki
2023-08-03 10:59:09 -07:00
parent 30e1bfc872
commit d450c4be9a
6 changed files with 72 additions and 8 deletions
+9
View File
@@ -0,0 +1,9 @@
import { useTheme } from "../theme"
export default function contacts_panel(): any {
const theme = useTheme()
return {
width: 100,
}
}
+2
View File
@@ -7,6 +7,7 @@ import {
} from "./components"
import { interactive, toggleable } from "../element"
import { useTheme } from "../theme"
import channel_modal from "./channel_modal"
export default function contacts_panel(): any {
@@ -51,6 +52,7 @@ export default function contacts_panel(): any {
}
return {
modal: channel_modal(),
background: background(layer),
padding: {
top: 12,