100vh settings screen (#4015)
This commit is contained in:
parent
03da056513
commit
6b2635c870
3 changed files with 14 additions and 4 deletions
11
src/view/com/util/Views.d.ts
vendored
11
src/view/com/util/Views.d.ts
vendored
|
@ -6,5 +6,14 @@ export function CenteredView({
|
|||
sideBorders,
|
||||
...props
|
||||
}: React.PropsWithChildren<
|
||||
ViewProps & {sideBorders?: boolean; topBorder?: boolean}
|
||||
ViewProps & {
|
||||
/**
|
||||
* @platform web
|
||||
*/
|
||||
sideBorders?: boolean
|
||||
/**
|
||||
* @platform web
|
||||
*/
|
||||
topBorder?: boolean
|
||||
}
|
||||
>)
|
||||
|
|
|
@ -20,10 +20,11 @@ import {
|
|||
View,
|
||||
ViewProps,
|
||||
} from 'react-native'
|
||||
import {addStyle} from 'lib/styles'
|
||||
import Animated from 'react-native-reanimated'
|
||||
|
||||
import {usePalette} from 'lib/hooks/usePalette'
|
||||
import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
|
||||
import Animated from 'react-native-reanimated'
|
||||
import {addStyle} from 'lib/styles'
|
||||
|
||||
interface AddedProps {
|
||||
desktopFixedHeight?: boolean | number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue