More typing
This commit is contained in:
@@ -28,19 +28,31 @@ function SettingsHeader({
|
||||
searchValue,
|
||||
setSearchValue,
|
||||
searchPlaceholder,
|
||||
}: any) {
|
||||
}: {
|
||||
setDragging: any;
|
||||
openModal: () => void;
|
||||
title: string;
|
||||
tooltip: any;
|
||||
searchValue: string;
|
||||
setSearchValue: (searchValue: string) => void;
|
||||
searchPlaceholder: string;
|
||||
}) {
|
||||
const { isMobile, theme, modalStyle } = useCommonHooks();
|
||||
return (
|
||||
<Group
|
||||
py={'1.5rem'}
|
||||
pl={'1rem'}
|
||||
h={'min-content'}
|
||||
w={'100%'}
|
||||
align='center'
|
||||
mt={0}
|
||||
justify='center'
|
||||
pos={'absolute'}
|
||||
style={{ backdropFilter: 'blur(10px) brightness(.75)', zIndex: 199 }}
|
||||
style={{
|
||||
backdropFilter: 'blur(10px) brightness(.75)',
|
||||
zIndex: 199,
|
||||
paddingTop: '1.5rem',
|
||||
paddingBottom: '1.5rem',
|
||||
paddingLeft: '1rem',
|
||||
height: 'min-content',
|
||||
width: '100%',
|
||||
marginTop: 0,
|
||||
position: 'absolute',
|
||||
}}
|
||||
>
|
||||
<Group w={isMobile ? undefined : '100%'}>
|
||||
<Text
|
||||
|
||||
Reference in New Issue
Block a user