aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forms/src/wrapper
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-01-11 21:07:21 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-01-11 21:07:21 +0100
commit0ac2806481852249c6a2d4a032cc2c0324a58ef8 (patch)
tree03292af10a5a97b824293ff8878d2a5c821d5ed2 /packages/forms/src/wrapper
parentexpose legacy styles (diff)
downloadferdium-app-0ac2806481852249c6a2d4a032cc2c0324a58ef8.tar.gz
ferdium-app-0ac2806481852249c6a2d4a032cc2c0324a58ef8.tar.zst
ferdium-app-0ac2806481852249c6a2d4a032cc2c0324a58ef8.zip
Add toggle element to @meetfranz/forms
Diffstat (limited to 'packages/forms/src/wrapper')
-rw-r--r--packages/forms/src/wrapper/index.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/forms/src/wrapper/index.tsx b/packages/forms/src/wrapper/index.tsx
index c2444b0ea..b3e92da66 100644
--- a/packages/forms/src/wrapper/index.tsx
+++ b/packages/forms/src/wrapper/index.tsx
@@ -1,3 +1,4 @@
1import { observer } from 'mobx-react';
1import React, { Component } from 'react'; 2import React, { Component } from 'react';
2import injectStyle from 'react-jss'; 3import injectStyle from 'react-jss';
3import { IWithStyle } from '../typings/generic'; 4import { IWithStyle } from '../typings/generic';
@@ -8,6 +9,7 @@ interface IProps extends IWithStyle {
8 children: React.ReactNode; 9 children: React.ReactNode;
9} 10}
10 11
12@observer
11class Wrapper extends Component<IProps> { 13class Wrapper extends Component<IProps> {
12 render() { 14 render() {
13 const { 15 const {