import * as React from 'react'; import * as classnames from 'classnames'; import Button from './button'; const FileButton = (props: { inputID: string, children?: any, accept?: string, single?: boolean, disabled?: boolean, className?: string, style?: any onChange?: () => void, onClick?: () => void }) => { const { children, accept, single, onChange, onClick, disabled, inputID, className, style } = props; const wrapperClass = classnames('file-button', className, { disabled: props.disabled }); const inputClass = classnames('file-button-input', { disabled: props.disabled }); return ( ); }; export default FileButton;