Next.js+React web interface for controlling HAProxy clusters (groups of servers), in conjunction with with https://gitgud.io/fatchan/haproxy-protection.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
442 B

export default function SearchFilter({ filter, setFilter }) {
return (
<div className='input-group mb-3 round-shadow'>
<div className='input-group-prepend'>
<span className='input-group-text' style={{ borderRadius: '5px 0 0 5px' }}>
<i className='bi bi-search' />
</span>
</div>
<input onChange={e => setFilter(e.target.value||'')} type='text' className='form-control' placeholder='Search' />
</div>
);
}