import React, { FunctionComponent, InputHTMLAttributes } from 'react';
import getClassName from '../../helpers/getClassName';
import Button, { VKUIButtonProps } from '../Button/Button';
import classNames from '../../lib/classNames';
import { HasRef, HasRootRef } from '../../types';
import usePlatform from '../../hooks/usePlatform';
export interface FileProps extends
Omit,
InputHTMLAttributes,
HasRef,
HasRootRef {
controlSize?: VKUIButtonProps['size'];
}
const File: FunctionComponent = (props: FileProps) => {
const { children, align, controlSize, mode, stretched, before, className,
style, getRef, getRootRef, ...restProps } = props;
const platform = usePlatform();
return (
);
};
File.defaultProps = {
children: 'Выберите файл',
align: 'left',
};
export default File;