mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update packages/web-vite/src/components/LabelPickerModal.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
f1574018fe
commit
c43269df69
1 changed files with 9 additions and 0 deletions
|
|
@ -9,6 +9,15 @@ interface LabelPickerModalProps {
|
|||
onClose: () => void
|
||||
}
|
||||
|
||||
/**
|
||||
* LabelPickerModal
|
||||
* @param props.itemId - Target library item ID.
|
||||
* @param props.currentLabels - Current label names applied.
|
||||
* @param props.onUpdate - Called with the updated label name list.
|
||||
* @param props.onClose - Close handler.
|
||||
*/
|
||||
export function LabelPickerModal({ itemId, currentLabels, onUpdate, onClose }: LabelPickerModalProps) {
|
||||
|
||||
// Preset colors matching legacy implementation
|
||||
const PRESET_COLORS = [
|
||||
{ name: 'Red', value: '#FF5D99' },
|
||||
|
|
|
|||
Loading…
Reference in a new issue