Style channels panel items

This commit is contained in:
Nate Butler
2023-08-14 15:50:37 -04:00
parent 4a5b2fa5dc
commit 8531cdaff7
2 changed files with 90 additions and 161 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ export function text_button({
layer,
margin,
text_properties,
}: TextButtonOptions) {
}: TextButtonOptions = {}) {
const theme = useTheme()
if (!color) color = "base"
@@ -81,7 +81,7 @@ export function text_button({
export function toggleable_text_button(
theme: Theme,
{ variant, color, active_color, margin }: ToggleableTextButtonOptions
{ variant, color, active_color, margin }: ToggleableTextButtonOptions = {}
) {
if (!color) color = "base"