feat: create HighlightsTab component with color picker

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-12 07:01:06 +00:00
parent 409675bf73
commit 8185009da6
3 changed files with 156 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import { useState, useEffect } from 'react'
import { Box, Paper, Typography, Tabs, Tab, IconButton, useMediaQuery, useTheme, TextField, Button } from '@mui/material'
import { Close, Bookmark, BookmarkBorder } from '@mui/icons-material'
import { BibleVerse } from '@/types'
import { HighlightsTab } from './highlights-tab'
interface VersDetailsPanelProps {
verse: BibleVerse | null
@@ -118,9 +119,13 @@ export function VersDetailsPanel({
)}
{tabValue === 1 && (
<Typography variant="body2" color="text.secondary">
Highlight colors coming soon
</Typography>
<HighlightsTab
verse={verse}
isHighlighted={false} // TODO: get from state
currentColor={null} // TODO: get from state
onToggleHighlight={() => {}} // TODO: implement
onColorChange={() => {}} // TODO: implement
/>
)}
{tabValue === 2 && (