diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-28 22:31:54 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-28 22:31:54 +0200 |
commit | a418875877687656b6f64b4f705cdfa1730c7b45 (patch) | |
tree | 879eab0d83999b0f365e2e47d944c9fe19e4b3ff /src/components.ts | |
parent | e7fa87bcc0052e1e99c6894e7e27a122374956b3 (diff) |
docs
Diffstat (limited to 'src/components.ts')
-rw-r--r-- | src/components.ts | 6 |
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; |