Add prettier

This commit is contained in:
2025-01-28 08:45:02 -06:00
parent db606f2e2a
commit 5a821fc6b5
16 changed files with 115 additions and 81 deletions

View File

@ -8,7 +8,7 @@ import { useColorScheme } from '@/hooks/useColorScheme';
export function useThemeColor(
props: { light?: string; dark?: string },
colorName: keyof typeof Colors.light & keyof typeof Colors.dark
colorName: keyof typeof Colors.light & keyof typeof Colors.dark,
) {
const theme = useColorScheme() ?? 'light';
const colorFromProps = props[theme];