about summary refs log tree commit diff
path: root/src/components/Fill.tsx
blob: 8ad3524735cdaa4053e8500bbee448489e0458dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import {View} from 'react-native'
import type React from 'react'

import {atoms as a, type ViewStyleProp} from '#/alf'

export function Fill({
  children,
  style,
}: {children?: React.ReactNode} & ViewStyleProp) {
  return <View style={[a.absolute, a.inset_0, style]}>{children}</View>
}