Inline sheets
BottomSheet renders within your screen layout.
const [index, setIndex] = useState(0);
const insets = useSafeAreaInsets();
<BottomSheet
index={index}
onIndexChange={setIndex}
surface={
<View style={[StyleSheet.absoluteFill, { backgroundColor: 'white' }]} />
}
>
<View style={{ padding: 16, paddingBottom: insets.bottom + 16 }}>
<Text>Sheet content</Text>
</View>
</BottomSheet>