aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/toggle
diff options
context:
space:
mode:
authorLibravatar Ricardo Cino <ricardo@cino.io>2022-07-01 08:30:51 +0200
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-07-01 15:00:55 +0530
commitc14b7a4473e90a7f40496efcdbd42f25e0165373 (patch)
treedba89178c019ee95853d47137c2b9ec4cb51bd6f /src/components/ui/toggle
parentTrying to check if tagging of submodule works [skip ci] (diff)
downloadferdium-app-c14b7a4473e90a7f40496efcdbd42f25e0165373.tar.gz
ferdium-app-c14b7a4473e90a7f40496efcdbd42f25e0165373.tar.zst
ferdium-app-c14b7a4473e90a7f40496efcdbd42f25e0165373.zip
chore: correctly export/import ui elements
Diffstat (limited to 'src/components/ui/toggle')
-rw-r--r--src/components/ui/toggle/index.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/ui/toggle/index.tsx b/src/components/ui/toggle/index.tsx
index 856581a21..0629d1a2c 100644
--- a/src/components/ui/toggle/index.tsx
+++ b/src/components/ui/toggle/index.tsx
@@ -6,9 +6,9 @@ import injectStyle, { WithStylesProps } from 'react-jss';
6import { Theme } from '../../../themes'; 6import { Theme } from '../../../themes';
7import { IFormField } from '../typings/generic'; 7import { IFormField } from '../typings/generic';
8 8
9import { Error } from '../error'; 9import Error from '../error';
10import { Label } from '../label'; 10import Label from '../label';
11import { Wrapper } from '../wrapper'; 11import Wrapper from '../wrapper';
12 12
13interface IProps 13interface IProps
14 extends InputHTMLAttributes<HTMLInputElement>, 14 extends InputHTMLAttributes<HTMLInputElement>,
@@ -122,6 +122,6 @@ class ToggleComponent extends Component<IProps> {
122 } 122 }
123} 123}
124 124
125export const Toggle = injectStyle(styles, { injectTheme: true })( 125export default injectStyle(styles, { injectTheme: true })(
126 ToggleComponent, 126 ToggleComponent,
127); 127);