diff --git a/components/CollectionsEditModal.js b/components/CollectionsEditModal.js new file mode 100644 index 0000000..ee45ed6 --- /dev/null +++ b/components/CollectionsEditModal.js @@ -0,0 +1,182 @@ +import { + addCollectionTag, + handleCollectionTagKeyPress, + removeCollectionTag, +} from '../lib/collection-tag-input.js'; + +export default function CollectionsEditModal({ + editingCollection, + setEditingCollection, + editTagInput, + setEditTagInput, + onClose, + onUpdate, +}) { + if (!editingCollection) { + return null; + } + + return ( +
+ Make this list discoverable by other users +
++ Your list "{createdCollection.name}" has been created successfully. +
+- Your list "{createdCollection.name}" has been created successfully. -
-- Make this list discoverable by other users -
-