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:
Timothy Atapagra 2025-10-27 23:43:54 -04:00
parent f1574018fe
commit c43269df69

View file

@ -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' },