aboutsummaryrefslogtreecommitdiff
path: root/src/components.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.ts')
-rw-r--r--src/components.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components.ts b/src/components.ts
index 633438766..1f5d18731 100644
--- a/src/components.ts
+++ b/src/components.ts
@@ -17,8 +17,6 @@
/**
* General helper React components.
- *
- * @author Florian Dold
*/
@@ -27,6 +25,10 @@
*/
import * as React from "react";
+/**
+ * Wrapper around state that will cause updates to the
+ * containing component.
+ */
export interface StateHolder<T> {
(): T;
(newState: T): void;