import React, { FunctionComponent, InputHTMLAttributes } from 'react';
import { getClassName } from '../../helpers/getClassName';
import { classNames } from '../../lib/classNames';
import { usePlatform } from '../../hooks/usePlatform';
import { HasRef, HasRootRef } from '../../types';
import { withAdaptivity, AdaptivityProps } from '../../hoc/withAdaptivity';
export interface SwitchProps extends
InputHTMLAttributes,
HasRootRef,
HasRef,
AdaptivityProps { }
const Switch: FunctionComponent = ({
style,
className,
getRef,
getRootRef,
sizeY,
...restProps
}: SwitchProps) => {
const platform = usePlatform();
return (
);
};
export default withAdaptivity(Switch, { sizeY: true });