mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-28 02:50:45 +00:00
fix: search and filter structure
This commit is contained in:
parent
584fd9679f
commit
ec69bd6594
@ -67,16 +67,16 @@ const ManagementTable = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<YStack>
|
<YStack>
|
||||||
<XStack justifyContent="space-between">
|
<XStack space={'$3'} justifyContent="space-between" alignItems="center">
|
||||||
<SearchManagement searchValue={searchValue} changeSearchValue={changeSearchValue} />
|
<SearchManagement searchValue={searchValue} changeSearchValue={changeSearchValue} />
|
||||||
<Stack style={{ position: 'relative', display: 'inline-block' }}>
|
<Stack style={{ position: 'relative', display: 'flex', alignItems: 'center' }}>
|
||||||
<SortIcon
|
<SortIcon
|
||||||
size={20}
|
size={20}
|
||||||
color="#647084"
|
color="#647084"
|
||||||
style={{
|
style={{
|
||||||
border: '1px solid #DCE0E5',
|
border: '1px solid #DCE0E5',
|
||||||
borderRadius: '10px',
|
borderRadius: '10px',
|
||||||
padding: '6px',
|
padding: '8px',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
@ -8,14 +8,16 @@ type SearchManagementProps = {
|
|||||||
|
|
||||||
const SearchManagement = ({ searchValue, changeSearchValue }: SearchManagementProps) => {
|
const SearchManagement = ({ searchValue, changeSearchValue }: SearchManagementProps) => {
|
||||||
return (
|
return (
|
||||||
<Input
|
<div style={{width: '100%'}} >
|
||||||
placeholder="Filter Validators"
|
<Input
|
||||||
value={searchValue}
|
placeholder="Filter Validators"
|
||||||
onChangeText={changeSearchValue}
|
value={searchValue}
|
||||||
icon={<SearchIcon size={20} />}
|
onChangeText={changeSearchValue}
|
||||||
onClear={() => changeSearchValue('')}
|
icon={<SearchIcon size={20} />}
|
||||||
size={40}
|
onClear={() => changeSearchValue('')}
|
||||||
/>
|
size={40}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user