@smart-react-components/ui
Version:
SRC UI includes React and Styled components.
17 lines (16 loc) • 578 B
TypeScript
import { PaletteProp, Partial, ResponsiveProp, ShapeProp, SizeProp } from '@smart-react-components/core/types';
import React from 'react';
interface Props extends Partial<ResponsiveProp<'inputSize', SizeProp>> {
hasBorder?: boolean;
isDisabled?: boolean;
isFocused?: boolean;
isOutline?: boolean;
isSoft?: boolean;
min?: number;
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
palette?: PaletteProp;
shape?: ShapeProp;
value?: number;
}
declare const InputNumberTemplate: React.FC<Props>;
export default InputNumberTemplate;