summaryrefslogtreecommitdiff
path: root/src/components/ToggleSwitch.tsx
diff options
context:
space:
mode:
authorHaishan <[email protected]>2020-11-13 23:03:41 +0800
committerHaishan <[email protected]>2020-11-13 23:03:41 +0800
commit3bbca8017b5de78ce982efd6d2889262bff2d7d1 (patch)
tree19550d8ef68bca2b36a92b1c6e677bd4e6418a55 /src/components/ToggleSwitch.tsx
parent837cca81317fe7158bc1be2d07949e64d07a0293 (diff)
chore: remove husky and lint-staged
Diffstat (limited to 'src/components/ToggleSwitch.tsx')
-rw-r--r--src/components/ToggleSwitch.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/ToggleSwitch.tsx b/src/components/ToggleSwitch.tsx
index 62f3418..a7d8947 100644
--- a/src/components/ToggleSwitch.tsx
+++ b/src/components/ToggleSwitch.tsx
@@ -1,13 +1,12 @@
-
import React, { useCallback, useMemo } from 'react';
import s0 from './ToggleSwitch.module.css';
type Props = {
- options?: any[];
- value?: string;
- name?: string;
- onChange?: (...args: any[]) => any;
+ options?: any[];
+ value?: string;
+ name?: string;
+ onChange?: (...args: any[]) => any;
};
function ToggleSwitch({ options, value, name, onChange }: Props) {