import * as React from 'react'; import { Input as CoreInput, InputProps as CoreInputProps } from 'wix-ui-core/dist/src/components/input'; import { withStylable } from 'wix-ui-core/dist/src/utils/withStylable'; import style from './Input.st.css'; import { getInputSuffix } from './InputSuffixes'; export interface InputProps { // The size of the input size?: 'large' | 'medium' | 'small'; } const defaultProps = { size: 'medium' }; export const StyledInput = withStylable( CoreInput, style, ({ size }) => ({ size }), defaultProps ); export const Input: React.SFC = ( props: CoreInputProps & InputProps ) => { const { error, disabled, suffix } = props; return ( ); }; Input.displayName = 'Input';