From 9ffe220def57349e6655e95f1cdbe26bd0bbe153 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Mon, 10 Jul 2023 10:24:24 -0400 Subject: [PATCH] Update tab_bar_button.ts --- styles/src/component/tab_bar_button.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/src/component/tab_bar_button.ts b/styles/src/component/tab_bar_button.ts index 2b657e8b37ff2a4860a51e05dc003c2d3f77368c..0c43e7010e5469c10f959e00f4df8d177963392f 100644 --- a/styles/src/component/tab_bar_button.ts +++ b/styles/src/component/tab_bar_button.ts @@ -1,4 +1,4 @@ -import { ColorScheme, StyleSets } from "../common" +import { Theme, StyleSets } from "../common" import { interactive } from "../element" import { InteractiveState } from "../element/interactive" import { background, foreground } from "../style_tree/components" @@ -12,7 +12,7 @@ type TabBarButtonProps = TabBarButtonOptions & { state?: Partial>> } -export function tab_bar_button(theme: ColorScheme, { icon, color = "base" }: TabBarButtonProps) { +export function tab_bar_button(theme: Theme, { icon, color = "base" }: TabBarButtonProps) { const button_spacing = 8 return (