@holokit/core
Version:
Core styles & components
16 lines (15 loc) • 591 B
TypeScript
import React from 'react';
/**
* The SimInputGroup component is an input field combined with a button.
*
* It effectively is a mini form that validates the length of the SIM entered,
* prevents letters from being typed in, and passes the SIM value along to the parent component,
* through the submitAction function prop.
*/
declare type Props = {
innerRef?: React.ForwardedRef<HTMLInputElement>;
placeholder: string;
submitAction: Function;
};
declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
export default _default;