mirror of
https://github.com/skooner-k8s/skooner.git
synced 2026-08-24 04:16:18 +00:00
Converted client/src/components/inputFilter.js to tsx
This commit is contained in:
@@ -2,7 +2,12 @@ import React from 'react';
|
||||
import Search from '../art/searchSvg';
|
||||
import Cancel from '../art/cancelSvg';
|
||||
|
||||
const InputFilter = ({filter, onChange}) => (
|
||||
type InputFilterProps = {
|
||||
filter: string;
|
||||
onChange: (value: string) => void;
|
||||
}
|
||||
|
||||
const InputFilter = ({filter, onChange}: InputFilterProps) => (
|
||||
<>
|
||||
<input
|
||||
className='header_filter header_fill optional_xsmall'
|
||||
Reference in New Issue
Block a user