diff --git a/js/src/forum/components/LogInButtons.tsx b/js/src/forum/components/LogInButtons.tsx
new file mode 100644
index 000000000..fe13cc787
--- /dev/null
+++ b/js/src/forum/components/LogInButtons.tsx
@@ -0,0 +1,20 @@
+import Component from '../../common/Component';
+import ItemList from '../../common/utils/ItemList';
+
+/**
+ * The `LogInButtons` component displays a collection of social login buttons.
+ */
+export default class LogInButtons extends Component {
+ view() {
+ return
+ {this.items().toArray()}
+
+ }
+
+ /**
+ * Build a list of LogInButton components.
+ */
+ items(): ItemList {
+ return new ItemList();
+ }
+}
diff --git a/js/src/forum/components/LogInModal.tsx b/js/src/forum/components/LogInModal.tsx
index 8bda315ae..c44fe844e 100644
--- a/js/src/forum/components/LogInModal.tsx
+++ b/js/src/forum/components/LogInModal.tsx
@@ -1,24 +1,20 @@
import Stream from 'mithril/stream';
-import Modal from '../../common/components/Modal';
import {ComponentProps} from '../../common/Component';
+import Modal from '../../common/components/Modal';
import ItemList from "../../common/utils/ItemList";
import Button from "../../common/components/Button";
+import LogInButtons from './LogInButtons';
+
export interface LogInModalProps extends ComponentProps {
- username?: string;
+ identification?: string;
password?: string;
remember?: boolean;
}
/**
* The `LogInModal` component displays a modal dialog with a login form.
- *
- * ### Props
- *
- * - `identification`
- * - `password`
- * - `remember`
*/
export default class LogInModal extends Modal {
/**
@@ -67,7 +63,7 @@ export default class LogInModal extends Modal {
body() {
return [
- // ,
+ ,
{this.fields().toArray()}