import { classy } from '@audentio/utils/src/classy'; import { passProps } from '@audentio/utils/src/passProps'; import { stylish } from '@audentio/utils/src/stylish'; import React, { Component } from 'react'; import { Schema } from 'yup'; import { Icon, IconType } from '../Icon'; import { InputErrors } from '../InputErrors'; import { InputLabel } from '../InputLabel'; import { Timestamp } from '../Timestamp'; import style from './Input.scss'; export interface BaseInputProps { name: string; disabled?: boolean; /** * * Validation schema * not used directly by input.