mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-03 06:11:48 +00:00
More elements migrated to typescript
This commit is contained in:
6
src/utils/ToggleSwitch.tsx
Normal file
6
src/utils/ToggleSwitch.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
import React, { FC } from 'react';
|
||||
import BooleanControl, { BooleanControlProps } from './BooleanControl';
|
||||
|
||||
const ToggleSwitch: FC<BooleanControlProps> = (props) => <BooleanControl type="switch" {...props} />;
|
||||
|
||||
export default ToggleSwitch;
|
||||
Reference in New Issue
Block a user