diff --git a/src/components/react/Event.jsx b/src/components/react/Event.jsx new file mode 100644 index 0000000..437153f --- /dev/null +++ b/src/components/react/Event.jsx @@ -0,0 +1,35 @@ +// Event.jsx +import React from "react"; +function stripHtml(html) { + return html.replace(/<\/?[^>]+(>|$)/g, ""); +} +const Event = ({ + index, + name, + description, + location, + start, + end, + month, + day, + year, +}) => { + return ( +