+
+ {by} added an edit
+
+
+ {content.map((line) => (
+ line === "\n" ?
: {line}
+ ))}
+
+
+ );
+}
+
+Edit.propTypes = {
+ /** ISO 8601 formatted time string. */
+ "datetime": PropTypes.string.isRequired,
+ /** The name of the person who added the edit. */
+ "by": PropTypes.string.isRequired,
+ /** An array of strings containing the content of the edit. */
+ "content": PropTypes.array.isRequired
+}
\ No newline at end of file
diff --git a/src/components/Edit/Edit.md b/src/components/Edit/Edit.md
new file mode 100644
index 0000000..c3643f4
--- /dev/null
+++ b/src/components/Edit/Edit.md
@@ -0,0 +1,29 @@
+Renders a message box style representation of an edit.
+
+```jsx
+import { ThemeProvider } from "@material-ui/core/styles";
+import webqueue2Theme from "../../theme";
+import Edit from "./Edit";
+
+const theme = webqueue2Theme(false);
+
+