-
Notifications
You must be signed in to change notification settings - Fork 529
Open
Description
ipfs-webui/src/peers/PeersTable/PeersTable.js
Lines 104 to 117 in b8a71d9
| const FilterInput = ({ setFilter, t, filteredCount }) => { | |
| return ( | |
| <div className='flex items-center justify-between pa2'> | |
| <input | |
| className='input-reset ba b--black-20 pa2 mb2 db w-100' | |
| type='text' | |
| placeholder='Filter peers' | |
| onChange={(e) => setFilter(e.target.value)} | |
| /> | |
| {/* Now to display the total number of peers filtered out on the right side of the inside of the input */} | |
| <div className='f4 charcoal-muted absolute top-1 right-1'>{filteredCount}</div> | |
| </div> | |
| ) | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels