@ucam/design-system
Version:
University of Cambridge Design System
12 lines (11 loc) • 419 B
TypeScript
import { FC } from 'react';
import { InputBaseProps } from '@material-ui/core/InputBase';
export declare type InputProps = Omit<InputBaseProps, 'color'>;
export interface CustomInputProps extends InputProps {
/**
* Used to specify a width of the input based on the expected number of characters
*/
characterWidth?: number;
}
declare const Input: FC<CustomInputProps>;
export default Input;