I know this question has been asked before. I've gone through solutions I've seen but none has worked for me unfortunately. Would really appreciate an extra set of eyes to help me see where I may have gone wrong.
Thanks
<div>
<Input
style={{ maxWidth: '200px', marginRight: '8px' }}
data-type="text"
placeholder="Search"
onValueChange={(Value) => {
setFilter(Value);
}}
value={filter}
/>
</div>
EDIT
As requested here is some more information about the Input prop.
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
[key: string]: any;
type?: InputType;
bsSize?: 'lg' | 'sm';
state?: string;
valid?: boolean;
invalid?: boolean;
tag?: string | React.ReactType;
innerRef?: React.Ref<HTMLInputElement>;
plaintext?: boolean;
addon?: boolean;
className?: string;
cssModule?: CSSModule;
}